]> SALOME platform Git repositories - modules/superv.git/commitdiff
Salome HOME
Fix for bug IPAL9224 : 3.0.0(/dn06/../current1506): CRASH after trying to add output...
authormkr <mkr@opencascade.com>
Wed, 6 Jul 2005 13:05:48 +0000 (13:05 +0000)
committermkr <mkr@opencascade.com>
Wed, 6 Jul 2005 13:05:48 +0000 (13:05 +0000)
src/GraphBase/DataFlowBase_DataPort.cxx

index c2f9e8f261e82747d4aeac6351e759b5b3365eb7..4e7c3e1ed5b8fb6202fee03a792fc6dc89f32e80 100644 (file)
@@ -66,7 +66,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 ;