Salome HOME
Implementation of the "20830: EDF 1357 GUI : Hide/Show Icon"
[modules/kernel.git] / src / SALOMEDS / SALOMEDS_AttributeComment_i.cxx
index dee16e6fab82fc8f78d1d569463d4f5da00c1735..cea3d1a49cfc60a1d161d9901949accf0c372f95 100644 (file)
@@ -1,4 +1,4 @@
-//  Copyright (C) 2007-2008  CEA/DEN, EDF R&D, OPEN CASCADE
+//  Copyright (C) 2007-2010  CEA/DEN, EDF R&D, OPEN CASCADE
 //
 //  Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
 //  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
@@ -19,6 +19,7 @@
 //
 //  See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
+
 //  File   : SALOMEDS_AttributeComment_i.cxx
 //  Author : Sergey RUIN
 //  Module : SALOME
@@ -28,8 +29,6 @@
 #include "SALOMEDS_SObject_i.hxx"
 #include "SALOMEDS.hxx"
 
-using namespace std;
-
 char* SALOMEDS_AttributeComment_i::Value()
 {
   SALOMEDS::Locker lock;
@@ -45,6 +44,6 @@ void SALOMEDS_AttributeComment_i::SetValue(const char* value)
 
   CheckLocked();
   CORBA::String_var Str = CORBA::string_dup(value);
-  string aValue((char*)Str.in());
+  std::string aValue((char*)Str.in());
   dynamic_cast<SALOMEDSImpl_AttributeComment*>(_impl)->SetValue(aValue);
 }