Salome HOME
Suppress compilation warnings
authorjfa <jfa@opencascade.com>
Thu, 23 Jun 2005 11:05:21 +0000 (11:05 +0000)
committerjfa <jfa@opencascade.com>
Thu, 23 Jun 2005 11:05:21 +0000 (11:05 +0000)
src/Container/Container_i.cxx
src/SALOMEDS/SALOMEDS_AttributePixMap.cxx

index 193d8be4df00eb7ef115f32134ebb5dd0a8d821f..d1f27369a4239958065783e72a533f76300eeae2 100644 (file)
@@ -296,7 +296,7 @@ Engines_Container_i::load_component_Library(const char* componentName)
   INFOS("try import Python component "<<componentName);
   if (_isSupervContainer)
     {
-      INFOS('Supervision Container does not support Python Component Engines');
+      INFOS("Supervision Container does not support Python Component Engines");
       return false;
     }
   if (_library_map[aCompName])
@@ -355,7 +355,7 @@ Engines_Container_i::create_component_instance(const char*genericRegisterName,
     {
       if (_isSupervContainer)
        {
-         INFOS('Supervision Container does not support Python Component Engines');
+         INFOS("Supervision Container does not support Python Component Engines");
          return Engines::Component::_nil();
        }
       _numInstanceMutex.lock() ; // lock on the instance number
index 78df35ce8ae2120504a7e0180b14b7cc91314bc8..658d81e5d77aaecca95b80f4a1a6fc3de1a8efb1 100644 (file)
@@ -24,6 +24,7 @@ bool SALOMEDS_AttributePixMap::HasPixMap()
   bool ret;
   if(_isLocal) ret = Handle(SALOMEDSImpl_AttributePixMap)::DownCast(_local_impl)->HasPixMap();
   else ret = SALOMEDS::AttributePixMap::_narrow(_corba_impl)->HasPixMap();
+  return ret;
 }
 
 std::string SALOMEDS_AttributePixMap::GetPixMap()