]> SALOME platform Git repositories - plugins/dxfplugin.git/blobdiff - src/DXFPlugin_IOperations_i.cc
Salome HOME
Clean-up deprecated OCCT-related code
[plugins/dxfplugin.git] / src / DXFPlugin_IOperations_i.cc
index bca345bc8c04e04050489b1871e16d7965462478..da489d6f15dc32013271529c0227368777df8eb1 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2014-2016  OPEN CASCADE
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -20,7 +20,7 @@
 // internal includes
 #include "DXFPlugin_IOperations_i.hh"
 #include "DXFPlugin_IOperations.hxx"
-#include <DXFPLUGIN_version.h>
+#include "DXFPlugin_version.h"
 
 // KERNEL includes
 #include <utilities.h>
@@ -66,7 +66,7 @@ void DXFPlugin_IOperations_i::ExportDXF( GEOM::GEOM_Object_ptr theOriginal,
   GetOperations()->SetNotDone();
 
   //Get the reference shape
-  Handle(GEOM_Object) anOriginal = GetObjectImpl( theOriginal );
+  Handle(::GEOM_Object) anOriginal = GetObjectImpl( theOriginal );
   if (anOriginal.IsNull()) return;
 
   //Export the shape to the file
@@ -98,7 +98,7 @@ GEOM::ListOfGO* DXFPlugin_IOperations_i::ImportDXF( const char* theFileName )
   Standard_Integer aLength = aHSeq->Length();
   aSeq->length( aLength );
   for( Standard_Integer i = 1; i <= aLength; i++ )
-    aSeq[i-1] = GetObject( Handle(GEOM_Object)::DownCast( aHSeq->Value(i) ) );
+    aSeq[i-1] = GetObject( Handle(::GEOM_Object)::DownCast( aHSeq->Value(i) ) );
 
   return aSeq._retn();
 }