Salome HOME
Using files from package LightApp instead of SalomeApp
[modules/smesh.git] / src / SMESHFiltersSelection / SMESH_TypeFilter.cxx
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());