Mod: replace std::ifstream/std::ofstream with Base::ifstream/Base::ofstream

This commit is contained in:
wmayer
2022-08-21 12:46:53 +02:00
parent 5be214b885
commit 5014bab534
13 changed files with 60 additions and 31 deletions

View File

@@ -55,8 +55,8 @@ PyObject* DrawViewSymbolPy::dumpSymbol(PyObject *args)
}
Base::FileInfo fi(fileSpec);
std::ofstream outfile;
outfile.open(fi.filePath());
Base::ofstream outfile;
outfile.open(fi);
outfile.write (symbolRepr.c_str(),symbolRepr.size());
outfile.close();
if (outfile.good()) {