]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
Using files from package LightApp instead of SalomeApp
authornds <nds@opencascade.com>
Thu, 3 Nov 2005 08:37:36 +0000 (08:37 +0000)
committernds <nds@opencascade.com>
Thu, 3 Nov 2005 08:37:36 +0000 (08:37 +0000)
src/SMESHFiltersSelection/SMESH_NumberFilter.cxx
src/SMESHFiltersSelection/SMESH_TypeFilter.cxx

index a44dcf87fd037c076d7001ca36c0bfaaac417a89..958e7a0f953ed494abaa09671820c13eca9bc731 100644 (file)
@@ -10,7 +10,7 @@
 #include "SUIT_Session.h"
 
 #include "SalomeApp_Study.h"
-#include "SalomeApp_DataOwner.h"
+#include "LightApp_DataOwner.h"
 
 #include "SALOME_InteractiveObject.hxx"
 #include "SALOMEDSClient_SObject.hxx"
@@ -129,8 +129,8 @@ bool SMESH_NumberFilter::isOk (const SUIT_DataOwner* theDataOwner) const
 GEOM::GEOM_Object_ptr SMESH_NumberFilter::getGeom
   (const SUIT_DataOwner* theDataOwner, const bool extractReference ) const
 {
-  const SalomeApp_DataOwner* owner =
-    dynamic_cast<const SalomeApp_DataOwner*>(theDataOwner);
+  const LightApp_DataOwner* owner =
+    dynamic_cast<const LightApp_DataOwner*>(theDataOwner);
   SalomeApp_Study* appStudy = dynamic_cast<SalomeApp_Study*>
     (SUIT_Session::session()->activeApplication()->activeStudy());
 
index b99f4d1d7d1798c9414ef20ae51f0ec130a13346..f406022d264b4c852e47da78af1f6e5d218ae115 100644 (file)
@@ -3,7 +3,7 @@
 #include <SUIT_Session.h>
 
 #include <SalomeApp_Study.h>
-#include <SalomeApp_DataOwner.h>
+#include <LightApp_DataOwner.h>
 
 SMESH_TypeFilter::SMESH_TypeFilter (MeshObjectType theType) 
 {
@@ -18,8 +18,8 @@ bool SMESH_TypeFilter::isOk (const SUIT_DataOwner* theDataOwner) const
 {
   bool Ok = false, extractReference = true;
 
-  const SalomeApp_DataOwner* owner =
-    dynamic_cast<const SalomeApp_DataOwner*>(theDataOwner);
+  const LightApp_DataOwner* owner =
+    dynamic_cast<const LightApp_DataOwner*>(theDataOwner);
   SalomeApp_Study* appStudy = dynamic_cast<SalomeApp_Study*>
     (SUIT_Session::session()->activeApplication()->activeStudy());