0024792: Remove unused hacks for compilers without STL
[occt.git] / src / XCAFDoc / XCAFDoc_ShapeTool.cxx
index 18e6324..ea7aae8 100644 (file)
@@ -172,13 +172,7 @@ static void SetLabelNameByShape(const TDF_Label L)
 //    if (Type == TopAbs_COMPOUND) Stream<<"ASSEMBLY";
 //    else 
     TopAbs::Print(S.ShapeType(), Stream);
-   
-#ifdef USE_STL_STREAM    
     TCollection_AsciiString aName (Stream.str().c_str());
-#else
-    Stream << ends;
-    TCollection_AsciiString aName (Stream.str());
-#endif    
     TDataStd_Name::Set(L, TCollection_ExtendedString(aName));
   }
 }