Salome HOME
Compilation bugs are fixed.
authorasv <asv@opencascade.com>
Fri, 27 May 2005 13:38:05 +0000 (13:38 +0000)
committerasv <asv@opencascade.com>
Fri, 27 May 2005 13:38:05 +0000 (13:38 +0000)
src/SalomeApp/SalomeApp_Study.cxx
src/SalomeApp/SalomeApp_TypeFilter.cxx

index bd38efc32facd226b34673be5346d6e39ae9d866..de81f209175379d068eb96eb0d4c5767caa5989d 100644 (file)
@@ -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() );
       }
     }
   }
index 59fdff028d9da51722be1d63ead54a961b357111..13d4a730db47e1d9cf7c9cedf14384cef5885e30 100644 (file)
@@ -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;
        }
     }