Salome HOME
projects
/
modules
/
homard.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
5e710af
)
Porting Python3: Encode URL
author
Gilles DAVID
<gilles-g.david@edf.fr>
Tue, 6 Jun 2017 15:14:50 +0000
(17:14 +0200)
committer
Gilles DAVID
<gilles-g.david@edf.fr>
Tue, 6 Jun 2017 15:14:50 +0000
(17:14 +0200)
src/HOMARD_I/HOMARD_Gen_i.cxx
patch
|
blob
|
history
diff --git
a/src/HOMARD_I/HOMARD_Gen_i.cxx
b/src/HOMARD_I/HOMARD_Gen_i.cxx
index 5b5dacc239749b5579ce41f3835b8464be2de4ba..4d44ae9ee2b7a255c4787f58d6b8ddff529dfe0e 100644
(file)
--- a/
src/HOMARD_I/HOMARD_Gen_i.cxx
+++ b/
src/HOMARD_I/HOMARD_Gen_i.cxx
@@
-33,6
+33,7
@@
#include "HOMARD_version.h"
#include "utilities.h"
#include "HOMARD_version.h"
#include "utilities.h"
+#include "Basics_Utils.hxx"
#include "Utils_SINGLETON.hxx"
#include "Utils_CorbaException.hxx"
#include "SALOMEDS_Tool.hxx"
#include "Utils_SINGLETON.hxx"
#include "Utils_CorbaException.hxx"
#include "SALOMEDS_Tool.hxx"
@@
-4351,7
+4352,7
@@
SALOMEDS::TMPFile* HOMARD_Gen_i::Save(SALOMEDS::SComponent_ptr theComponent,
// HOMARD data file name
std::string aFileName = "";
if (isMultiFile)
// HOMARD data file name
std::string aFileName = "";
if (isMultiFile)
- aFileName = SALOMEDS_Tool::GetNameFromPath(
aStudy->URL(
));
+ aFileName = SALOMEDS_Tool::GetNameFromPath(
Kernel_Utils::encode(aStudy->URL()
));
aFileName += "_HOMARD.dat";
// initialize sequence of file names
aFileName += "_HOMARD.dat";
// initialize sequence of file names
@@
-4476,7
+4477,7
@@
CORBA::Boolean HOMARD_Gen_i::Load(SALOMEDS::SComponent_ptr theComponent,
// HOMARD data file name
std::string aFileName = "";
if (isMultiFile)
// HOMARD data file name
std::string aFileName = "";
if (isMultiFile)
- aFileName = SALOMEDS_Tool::GetNameFromPath(
aStudy->URL(
));
+ aFileName = SALOMEDS_Tool::GetNameFromPath(
Kernel_Utils::encode(aStudy->URL()
));
aFileName = tmpDir + aFileName + "_HOMARD.dat";
StudyContext& context = myContextMap[ aStudy->StudyId() ];
aFileName = tmpDir + aFileName + "_HOMARD.dat";
StudyContext& context = myContextMap[ aStudy->StudyId() ];