Salome HOME
untabify
[modules/geom.git] / src / EntityGUI / EntityGUI_SubShapeDlg.cxx
index af81a31bb94685883d964619e6bd0a8dd52a4ba0..9dc4679bfc4f164a8f15f9a726ed1e29b2566ef6 100644 (file)
@@ -143,7 +143,7 @@ void EntityGUI_SubShapeDlg::Init()
           SIGNAL( currentSelectionChanged( )), this, SLOT( SelectionIntoArgument() ) );
 
   updateButtonState();
-
+  resize(100,100);
   SelectionIntoArgument();
 }
 
@@ -558,8 +558,8 @@ bool EntityGUI_SubShapeDlg::isValid (QString& msg)
 //=================================================================================
 bool EntityGUI_SubShapeDlg::execute (ObjectList& objects)
 {
-  GEOM::ListOfGO_var aList = GEOM::GEOM_IShapesOperations::_narrow(getOperation())->
-    MakeExplode(myObject, shapeType(), true);
+  GEOM::GEOM_IShapesOperations_var anOper = GEOM::GEOM_IShapesOperations::_narrow(getOperation());
+  GEOM::ListOfGO_var aList = anOper->MakeExplode(myObject, shapeType(), true);
 
   if (!aList->length())
     return false;