Salome HOME
projects
/
modules
/
smesh.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Porting to CAS-6.3
[modules/smesh.git]
/
src
/
SMESH_I
/
SMESH_Gen_i.cxx
diff --git
a/src/SMESH_I/SMESH_Gen_i.cxx
b/src/SMESH_I/SMESH_Gen_i.cxx
index 0ef90f6de970fa2ec90b67902f76c0ceaccd60b6..3190028d0f9950bfac35e5810065ec2bdb6a283e 100644
(file)
--- a/
src/SMESH_I/SMESH_Gen_i.cxx
+++ b/
src/SMESH_I/SMESH_Gen_i.cxx
@@
-1907,7
+1907,7
@@
SALOMEDS::TMPFile* SMESH_Gen_i::Save( SALOMEDS::SComponent_ptr theComponent,
// Write data
// ---> create HDF file
// Write data
// ---> create HDF file
- aFile = new HDFfile( filename.ToCString() );
+ aFile = new HDFfile(
(char*)
filename.ToCString() );
aFile->CreateOnDisk();
// --> iterator for top-level objects
aFile->CreateOnDisk();
// --> iterator for top-level objects
@@
-2857,7
+2857,7
@@
bool SMESH_Gen_i::Load( SALOMEDS::SComponent_ptr theComponent,
// Read data
// ---> open HDF file
// Read data
// ---> open HDF file
- aFile = new HDFfile( filename.ToCString() );
+ aFile = new HDFfile(
(char*)
filename.ToCString() );
try {
aFile->OpenOnDisk( HDF_RDONLY );
}
try {
aFile->OpenOnDisk( HDF_RDONLY );
}