]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
Porting to CAS-6.3
authormaintenance team <salome-mnt@opencascade.com>
Fri, 12 Sep 2008 15:38:04 +0000 (15:38 +0000)
committermaintenance team <salome-mnt@opencascade.com>
Fri, 12 Sep 2008 15:38:04 +0000 (15:38 +0000)
src/GEOMBase/GEOMBase_Helper.cxx

index f8d619119cbddb588d98f1fecd5c23639098c240..3f056bc058385d0c5c6e8553839a1f1ad7f4be46 100755 (executable)
@@ -619,7 +619,7 @@ char* GEOMBase_Helper::getEntry( GEOM::GEOM_Object_ptr object ) const
     if ( IOR != "" ) {
       _PTR(SObject) SO ( study->studyDS()->FindObjectIOR( IOR ) );
       if ( SO ) {
-             return TCollection_AsciiString((char*)SO->GetID().c_str()).ToCString();
+             return (char*) TCollection_AsciiString((char*)SO->GetID().c_str()).ToCString();
       }
     }
   }