]> SALOME platform Git repositories - tools/hxx2salome.git/commitdiff
Salome HOME
Compatibility with Debian Lenny V5_1_3_BR V5_1_3_patch05 V5_1_3_patch06 V5_1_3_patch07 V5_1_3_patch08 V5_1_3_patch09
authorvsr <vsr@opencascade.com>
Thu, 14 Oct 2010 07:29:11 +0000 (07:29 +0000)
committervsr <vsr@opencascade.com>
Thu, 14 Oct 2010 07:29:11 +0000 (07:29 +0000)
src/hxx2salome.cpp

index 50640eefe42aed0f0aec38242ba31a91a97711b0..474175f273eb7f76c568f93ea96a1cdafb106ace 100644 (file)
@@ -6,10 +6,9 @@
 #include <QtGui/QFileDialog>
 #include <QtGui/QMessageBox>
 
+#include <cstdlib>
 #include "hxx2salome.h"
 
-#include <stdlib.h>
-
 // VSR: uncomment for debug mode
 // #define __DEBUG__
 
@@ -246,6 +245,6 @@ void HXX2Salome::on_GenerateButton_clicked()
   printf( "command: %s\n", qPrintable( command ) );
 #endif
   QApplication::setOverrideCursor( Qt::WaitCursor );
-  system( command.toLatin1().constData() );
+  std::system( command.toLatin1().constData() );
   QApplication::restoreOverrideCursor();
 }