Salome HOME
Preparation of intermediate revision
[modules/geom.git] / src / BlocksGUI / BlocksGUI_PropagateDlg.cxx
index 07801d8a1a4b88a31d410e83c70043939b821ccd..83989caa91475b8ff68a66cb269825a567fc4b30 100644 (file)
@@ -239,7 +239,8 @@ bool BlocksGUI_PropagateDlg::isValid( QString& )
 //=================================================================================
 bool BlocksGUI_PropagateDlg::execute( ObjectList& objects )
 {
-  GEOM::ListOfGO_var aList = GEOM::GEOM_IBlocksOperations::_narrow( getOperation() )->Propagate( myObject );
+  GEOM::GEOM_IBlocksOperations_var anOper = GEOM::GEOM_IBlocksOperations::_narrow(getOperation());
+  GEOM::ListOfGO_var aList = anOper->Propagate( myObject );
   mainFrame()->ResultName->setText( "" );
 
   if ( !aList->length() )