summaryrefslogtreecommitdiffstats
path: root/src/diagram.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/diagram.cpp')
-rw-r--r--src/diagram.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/diagram.cpp b/src/diagram.cpp
index 9bb2a9f..80e6d10 100644
--- a/src/diagram.cpp
+++ b/src/diagram.cpp
@@ -985,9 +985,11 @@ void ClassDiagram::writeFigure(QTextStream &output,const char *path,
output << ":\\begin{figure}[H]\n"
"\\begin{center}\n"
"\\leavevmode\n";
- output << "\\setlength{\\epsfysize}{" << realHeight << "cm}\n";
- output << "\\epsfbox{" << fileName << ".eps}\n"
- "\\end{center}\n"
+ //output << "\\setlength{\\epsfysize}{" << realHeight << "cm}\n";
+ //output << "\\epsfbox{" << fileName << ".eps}\n"
+ output << "\\includegraphics[height=" << realHeight << "cm]{"
+ << fileName << "}" << endl;
+ output << "\\end{center}\n"
"\\end{figure}\n";
//printf("writeFigure rows=%d cols=%d\n",rows,cols);