Salome HOME
0021954: [CEA 706] Error at the mesh object creation
[modules/smesh.git] / src / DriverSTL / DriverSTL_R_SMDS_Mesh.cxx
index 9037d61ada07f0493bd5bc4ad7f53fb5b9c8d9ef..e5d260feb6c97bed9ab2f2afa64c5b841a713fdd 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2011  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2012  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
@@ -22,6 +22,8 @@
 
 #include <stdio.h>
 #include <gp_Pnt.hxx>
+#include <Basics_Utils.hxx>
+
 //=======================================================================
 //function : HashCode
 //purpose  : 
@@ -104,6 +106,8 @@ void DriverSTL_R_SMDS_Mesh::SetIsCreateFaces( const bool theIsCreate )
 
 Driver_Mesh::Status DriverSTL_R_SMDS_Mesh::Perform()
 {
+  Kernel_Utils::Localizer loc;
+
   Status aResult = DRS_OK;
 
   TCollection_AsciiString aFileName( (char *)myFile.c_str() );