Salome HOME
Unicode support: correct handling of unicode on GUI level
[modules/geom.git] / src / GEOMFiltersSelection / GEOM_PreviewFilter.cxx
index 45be84f780a00283354a7b75a876cd144b8b86d0..2ee961d0914b2e42b907d31181b0a228b7829eee 100644 (file)
@@ -48,6 +48,6 @@ GEOM_PreviewFilter::~GEOM_PreviewFilter()
 bool GEOM_PreviewFilter::isOk( const SUIT_DataOwner* sOwner ) const
 {
   const LightApp_DataOwner* owner = dynamic_cast<const LightApp_DataOwner*> ( sOwner );
-  return ( owner && strstr( owner->entry().toLatin1().constData(), "TEMP" ) );
+  return ( owner && strstr( owner->entry().toUtf8().constData(), "TEMP" ) );
 }