Correct compilation under Win32 platform

This commit is contained in:
abd 2008-05-08 08:23:07 +00:00
parent e330735a02
commit b7b489fb34
7 changed files with 1 additions and 14 deletions

View File

@ -26,8 +26,6 @@
// Module : GEOM
// $Header$
using namespace std;
#include <Standard_Stream.hxx>
#include <Standard_Stream.hxx>

View File

@ -29,8 +29,6 @@
#if !defined (__GEOM_DISPLAYER_H)
#define __GEOM_DISPLAYER_H
using namespace std;
#include "GEOM_GEOMGUI.hxx"
#include "SALOME_Prs.h"

View File

@ -21,8 +21,6 @@
#pragma warning( disable:4786 )
#endif
using namespace std;
#include <Standard_Stream.hxx>
#include <GEOMImpl_IBlocksOperations.hxx>

View File

@ -24,8 +24,6 @@
#pragma warning( disable:4786 )
#endif
using namespace std;
#include <Standard_Stream.hxx>
#include <GEOMImpl_IHealingOperations.hxx>

View File

@ -18,8 +18,6 @@
// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
//
using namespace std;
#include <Standard_Stream.hxx>
#include <GEOMImpl_ILocalOperations.hxx>

View File

@ -23,8 +23,6 @@
// Project : SALOME
// $Header$
using namespace std;
#include <Standard_Stream.hxx>
#include "GEOMImpl_IShapesOperations.hxx"

View File

@ -29,7 +29,6 @@
#include <strstream>
#include "Utils_CorbaException.hxx"
#include "OpUtil.hxx"
#include "Utils_ExceptHandlers.hxx"
#include "utilities.h"
@ -289,7 +288,7 @@ SALOMEDS::TMPFile* GEOM_Gen_i::Save(SALOMEDS::SComponent_ptr theComponent,
bool isMultiFile) {
SALOMEDS::TMPFile_var aStreamFile;
// Get a temporary directory to store a file
std::string aTmpDir = (isMultiFile)?theURL:SALOMEDS_Tool::GetTmpDir();
std::string aTmpDir = (isMultiFile)?theURL : SALOMEDS_Tool::GetTmpDir();
// OCCT BUG: cannot save a document (in current folder)
// if directory name is empty