]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
Fix for the bug IPAL22864: "Salome show fatal error message, when try load VISU"
authorana <ana@opencascade.com>
Mon, 30 Jan 2012 13:52:12 +0000 (13:52 +0000)
committerana <ana@opencascade.com>
Mon, 30 Jan 2012 13:52:12 +0000 (13:52 +0000)
src/VISU_I/VISU_Table_i.cc

index 304727b2993419c9e4f520e4fb104cd125de0051..160cbc136e271e49190b5770f7e396ee2b600dc5 100644 (file)
@@ -423,8 +423,8 @@ VISU::Table_i
   SALOMEDS::GenericAttribute_var        anAttr;
   SALOMEDS::AttributeTableOfInteger_var anInt;
   SALOMEDS::AttributeTableOfReal_var    aReal;
-  SALOMEDS::StringSeq_var rowTitles;
-  SALOMEDS::StringSeq_var rowUnits;
+  SALOMEDS::StringSeq_var rowTitles = new SALOMEDS::StringSeq();
+  SALOMEDS::StringSeq_var rowUnits = new SALOMEDS::StringSeq();
 
   if ( !mySObj->_is_nil() ) {
     if ( Builder->FindAttribute( mySObj, anAttr, "AttributeTableOfInteger" ) ) {