Salome HOME
projects
/
modules
/
gui.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Unicode support: correct handling of unicode on GUI level
[modules/gui.git]
/
src
/
LightApp
/
LightApp_Driver.cxx
diff --git
a/src/LightApp/LightApp_Driver.cxx
b/src/LightApp/LightApp_Driver.cxx
index 59b1af283df2aab55742108da838bdefcd66dfde..957af1f870dc6987ce980260570479af829dc140 100644
(file)
--- a/
src/LightApp/LightApp_Driver.cxx
+++ b/
src/LightApp/LightApp_Driver.cxx
@@
-1,4
+1,4
@@
-// Copyright (C) 2007-201
5
CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-201
6
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
//
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
@@
-83,7
+83,7
@@
bool LightApp_Driver::SaveDatasInFile( const char* theFileName, bool isMultiFile
if(aFileBuffer == NULL)
return false;
if(aFileBuffer == NULL)
return false;
- myTmpDir = QDir::toNativeSeparators( QFileInfo( theFileName ).absolutePath() + "/" ).to
Latin1
().constData() ;
+ myTmpDir = QDir::toNativeSeparators( QFileInfo( theFileName ).absolutePath() + "/" ).to
Utf8
().constData() ;
int aCurrentPos = 0;
int aCurrentPos = 0;
@@
-142,7
+142,7
@@
bool LightApp_Driver::ReadDatasFromFile( const char* theFileName, bool isMultiFi
ifstream aFile(theFileName);
#endif
ifstream aFile(theFileName);
#endif
- myTmpDir = QDir::toNativeSeparators( QFileInfo( theFileName ).absolutePath() + "/" ).to
Latin1
().constData() ;
+ myTmpDir = QDir::toNativeSeparators( QFileInfo( theFileName ).absolutePath() + "/" ).to
Utf8
().constData() ;
aFile.seekg(0, ios::end);
int aFileBufferSize = aFile.tellg();
aFile.seekg(0, ios::end);
int aFileBufferSize = aFile.tellg();