From f8db3b7a8b9b34de34783450120aa15a659a2460 Mon Sep 17 00:00:00 2001 From: asv Date: Fri, 27 May 2005 13:38:05 +0000 Subject: [PATCH] Compilation bugs are fixed. --- src/SalomeApp/SalomeApp_Study.cxx | 2 +- src/SalomeApp/SalomeApp_TypeFilter.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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; } } -- 2.39.2