X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FGEOMBase%2FGEOMBase.cxx;h=0f7d30cfbc0a98172a58f7da2139b5ca22cde148;hb=8b5f1c191594c2b11725b6344b81ba0cd2835809;hp=315f8f08268268790feef475b6102de9b89f56dd;hpb=6db9617375293b946e76e42b34a397a8d4c45126;p=modules%2Fgeom.git diff --git a/src/GEOMBase/GEOMBase.cxx b/src/GEOMBase/GEOMBase.cxx index 315f8f082..0f7d30cfb 100644 --- a/src/GEOMBase/GEOMBase.cxx +++ b/src/GEOMBase/GEOMBase.cxx @@ -59,6 +59,7 @@ #include #include #include +#include #include @@ -66,9 +67,6 @@ #include -using namespace std; - - //===================================================================================== // function : GetShapeFromIOR() // purpose : exist also as static method ! @@ -915,7 +913,7 @@ QString GEOMBase::GetName( GEOM::GEOM_Object_ptr theObj ) CORBA::String_var anIOR = SalomeApp_Application::orb()->object_to_string( theObj ); if ( strcmp(anIOR.in(), "") != 0 ) { - _PTR(SObject) aSObj ( appStudy->studyDS()->FindObjectIOR( string( anIOR ) ) ); + _PTR(SObject) aSObj ( appStudy->studyDS()->FindObjectIOR( std::string( anIOR ) ) ); _PTR(GenericAttribute) anAttr;