diff options
Diffstat (limited to 'src/diagram.cpp')
-rw-r--r-- | src/diagram.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/diagram.cpp b/src/diagram.cpp index edc895d..09e74c7 100644 --- a/src/diagram.cpp +++ b/src/diagram.cpp @@ -1338,14 +1338,14 @@ void ClassDiagram::writeFigure(FTextStream &output,const char *path, epstopdfArgs.sprintf("\"%s.eps\" --outfile=\"%s.pdf\"", epsBaseName.data(),epsBaseName.data()); //printf("Converting eps using '%s'\n",epstopdfArgs.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(); return; } - portable_sysTimerStop(); + Portables::sysTimerStop(); } } |