Salome HOME
Merge multi-study removal branch.
[modules/geom.git] / src / TransformationGUI / TransformationGUI.cxx
index 1cb0bc892f92e83b440b078b68fd82991231f7b0..f1605786ea1fd40d57a872948f0cd896e574ac96 100644 (file)
@@ -114,13 +114,11 @@ bool TransformationGUI::OnGUIEvent( int theCommandID, SUIT_Desktop* parent )
     break;
   case GEOMOp::OpReimport:       // RELOAD IMPORTED SHAPE
     {
-      SalomeApp_Study* anAppStudy = dynamic_cast<SalomeApp_Study*>(app->activeStudy());
-
       GEOM::GEOM_ITransformOperations_var anOp =
-        GeometryGUI::GetGeomGen()->GetITransformOperations(anAppStudy->id());
+        GeometryGUI::GetGeomGen()->GetITransformOperations();
       if (anOp->_is_nil()) return false;
 
-      GEOM_Displayer aDisp (anAppStudy);
+      GEOM_Displayer aDisp;
       SUIT_Desktop* desk = app->desktop();
       QList<SUIT_ViewWindow*> wnds = desk->windows();