From: asv Date: Fri, 27 May 2005 13:38:05 +0000 (+0000) Subject: Compilation bugs are fixed. X-Git-Tag: T3_0_0_a1~86 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=f8db3b7a8b9b34de34783450120aa15a659a2460;p=modules%2Fgui.git Compilation bugs are fixed. --- diff --git a/src/SalomeApp/SalomeApp_Study.cxx b/src/SalomeApp/SalomeApp_Study.cxx index bd38efc32..de81f2091 100644 --- a/src/SalomeApp/SalomeApp_Study.cxx +++ b/src/SalomeApp/SalomeApp_Study.cxx @@ -255,7 +255,7 @@ void SalomeApp_Study::dataModelInserted (const CAM_DataModel* dm) aComp = aBuilder->NewComponent(dm->module()->name()); // Set default engine IOR - aBuilder->DefineComponentInstance(aComp, SalomeApp_Application::defaultEngineIOR()); + aBuilder->DefineComponentInstance(aComp, SalomeApp_Application::defaultEngineIOR().latin1() ); } } } diff --git a/src/SalomeApp/SalomeApp_TypeFilter.cxx b/src/SalomeApp/SalomeApp_TypeFilter.cxx index 59fdff028..13d4a730d 100644 --- a/src/SalomeApp/SalomeApp_TypeFilter.cxx +++ b/src/SalomeApp/SalomeApp_TypeFilter.cxx @@ -29,7 +29,7 @@ bool SalomeApp_TypeFilter::isOk( const SUIT_DataOwner* sOwner ) const if (aSObj) { _PTR(SComponent) aComponent(aSObj->GetFatherComponent()); - if ( aComponent && (aComponent->ComponentDataType() == myKind) ) + if ( aComponent && (aComponent->ComponentDataType() == myKind.latin1()) ) return true; } }