]> SALOME platform Git repositories - modules/superv.git/commitdiff
Salome HOME
Fix for bug PAL9505 : CRASH after trying to add output port of "string" type.
authorsan <san@opencascade.com>
Mon, 18 Jul 2005 11:44:14 +0000 (11:44 +0000)
committersan <san@opencascade.com>
Mon, 18 Jul 2005 11:44:14 +0000 (11:44 +0000)
src/GraphBase/DataFlowBase_DataPort.cxx

index 1f6d837551b06e1e09581cd2a8044cec0938543c..0496832e1bdec738b4832c8c7f5edb29c53133ba 100644 (file)
@@ -65,7 +65,7 @@ void GraphBase::DataPort::InitialValues(CORBA::Any aValue ) {
   }
   else if ( !strcmp( Type , "string" ) ) {
     cdebug << "string" << endl ;
-    InitialValue <<= (char *) NULL ;
+    InitialValue <<= (char *) "" ;
   }
   else if ( !strcmp( Type , "boolean" ) ) {
     cdebug << "boolean" << endl ;