]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
Align number of arguments of Export method.
authorjfa <jfa@opencascade.com>
Wed, 6 Feb 2013 12:49:25 +0000 (12:49 +0000)
committerjfa <jfa@opencascade.com>
Wed, 6 Feb 2013 12:49:25 +0000 (12:49 +0000)
src/BREPExport/BREPExport.cxx
src/STEPExport/STEPExport.cxx

index 6c125cac02a24ba9a4bd196042f1d3e3fd5ca080..7bd879a3aa4c8a550f8e34418d95fb247d388ba6 100644 (file)
@@ -58,8 +58,9 @@
 
 extern "C"
 {
-BREPEXPORT_EXPORT
-  int Export(const TopoDS_Shape& theShape, const TCollection_AsciiString& theFileName)
+  BREPEXPORT_EXPORT int Export (const TopoDS_Shape& theShape,
+                                const TCollection_AsciiString& theFileName,
+                                const TCollection_AsciiString& /*theFormatName*/)
   {
     MESSAGE("Export BREP into file " << theFileName.ToCString());
 
index abe5c310a9b9b16dcfa453730b853f1eb75d4596..e911cd01e8f51713f3646de3b5d5ca5405d9d447 100644 (file)
@@ -61,8 +61,9 @@
 
 extern "C"
 {
-  STEPEXPORT_EXPORT
-  int Export(const TopoDS_Shape& theShape, const TCollection_AsciiString& theFileName)
+  STEPEXPORT_EXPORT int Export (const TopoDS_Shape& theShape,
+                                const TCollection_AsciiString& theFileName,
+                                const TCollection_AsciiString& /*theFormatName*/)
   {
     MESSAGE("Export STEP into file " << theFileName.ToCString());