X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=blobdiff_plain;f=src%2FPluginUtils%2FGeomSelectionTools.cxx;h=c248771a4e3f6441ae59625b706a2a16bb195277;hp=d57f2a210b0ce44e35bc5a584e1818cca156cc13;hb=52d825495306f72048c8754aa5c86c6a390f8262;hpb=b0a908c0d20341651771d0249fb10882f54b2aad diff --git a/src/PluginUtils/GeomSelectionTools.cxx b/src/PluginUtils/GeomSelectionTools.cxx index d57f2a210..c248771a4 100644 --- a/src/PluginUtils/GeomSelectionTools.cxx +++ b/src/PluginUtils/GeomSelectionTools.cxx @@ -28,7 +28,7 @@ #include #include -#include +#include #include #include #include @@ -96,7 +96,7 @@ LightApp_SelectionMgr* GeomSelectionTools::selectionMgr() */ SALOME_ListIO* GeomSelectionTools::getSelectedSalomeObjects() { - SALOME_ListIO* selected; + SALOME_ListIO* selected = new SALOME_ListIO; LightApp_SelectionMgr* aSel = selectionMgr(); aSel->selectedObjects( *selected, NULL, false ); return selected;