From: nds Date: Thu, 3 Nov 2005 08:37:36 +0000 (+0000) Subject: Using files from package LightApp instead of SalomeApp X-Git-Tag: V3_1_0a3~27 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=80b2ef84c3197c4159cd6b82cc6a476853e76022;p=modules%2Fsmesh.git Using files from package LightApp instead of SalomeApp --- diff --git a/src/SMESHFiltersSelection/SMESH_NumberFilter.cxx b/src/SMESHFiltersSelection/SMESH_NumberFilter.cxx index a44dcf87f..958e7a0f9 100644 --- a/src/SMESHFiltersSelection/SMESH_NumberFilter.cxx +++ b/src/SMESHFiltersSelection/SMESH_NumberFilter.cxx @@ -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(theDataOwner); + const LightApp_DataOwner* owner = + dynamic_cast(theDataOwner); SalomeApp_Study* appStudy = dynamic_cast (SUIT_Session::session()->activeApplication()->activeStudy()); diff --git a/src/SMESHFiltersSelection/SMESH_TypeFilter.cxx b/src/SMESHFiltersSelection/SMESH_TypeFilter.cxx index b99f4d1d7..f406022d2 100644 --- a/src/SMESHFiltersSelection/SMESH_TypeFilter.cxx +++ b/src/SMESHFiltersSelection/SMESH_TypeFilter.cxx @@ -3,7 +3,7 @@ #include #include -#include +#include 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(theDataOwner); + const LightApp_DataOwner* owner = + dynamic_cast(theDataOwner); SalomeApp_Study* appStudy = dynamic_cast (SUIT_Session::session()->activeApplication()->activeStudy());