diff options
author | Tobias Off <tobias.off@redheads.de> | 2019-11-19 12:01:27 (GMT) |
---|---|---|
committer | Tobias Off <tobias.off@redheads.de> | 2019-11-28 09:43:57 (GMT) |
commit | 6382986b77d302be187d95aaa850eff132ec1d7d (patch) | |
tree | 37babfa1b0b12db5ccdb7fa4f386690e6e949a66 /src/msc.cpp | |
parent | 2972f6ddc491f615f814b1277ec715b6f707c419 (diff) | |
download | Doxygen-6382986b77d302be187d95aaa850eff132ec1d7d.zip Doxygen-6382986b77d302be187d95aaa850eff132ec1d7d.tar.gz Doxygen-6382986b77d302be187d95aaa850eff132ec1d7d.tar.bz2 |
Refactoring of portable.h and portable.cpp functions to be contained in a namespace
Fixing some memory issues caused by not correctly freed pointers
Diffstat (limited to 'src/msc.cpp')
-rw-r--r-- | src/msc.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/msc.cpp b/src/msc.cpp index 51e23fa..9b80c53 100644 --- a/src/msc.cpp +++ b/src/msc.cpp @@ -95,7 +95,7 @@ void writeMscGraphFromFile(const char *inFile,const char *outDir, const char *outFile,MscOutputFormat format) { QCString absOutFile = outDir; - absOutFile+=portable_pathSeparator(); + absOutFile+=Portables::pathSeparator(); absOutFile+=outFile; mscgen_format_t msc_format; @@ -130,12 +130,12 @@ void writeMscGraphFromFile(const char *inFile,const char *outDir, QCString epstopdfArgs(maxCmdLine); epstopdfArgs.sprintf("\"%s.eps\" --outfile=\"%s.pdf\"", absOutFile.data(),absOutFile.data()); - portable_sysTimerStart(); - if (portable_system("epstopdf",epstopdfArgs)!=0) + Portables::sysTimerStart(); + if (Portables::system("epstopdf",epstopdfArgs)!=0) { err("Problems running epstopdf. Check your TeX installation!\n"); } - portable_sysTimerStop(); + Portables::sysTimerStop(); } Doxygen::indexList->addImageFile(imgName); |