diff options
author | mueller <mueller@afe2bf4a-e733-0410-8a33-86f594647bc7> | 1999-12-15 19:37:58 (GMT) |
---|---|---|
committer | mueller <mueller@afe2bf4a-e733-0410-8a33-86f594647bc7> | 1999-12-15 19:37:58 (GMT) |
commit | 5576fbf6d0a8baa16fa65a37a172543397ee950a (patch) | |
tree | b859924ab8503fed25bbfbc7ea96b72b9dee34b0 /src/formula.cpp | |
parent | d4bdeb54df648007d9a2b4a9ec5c2ef3b84f1a3b (diff) | |
download | Doxygen-5576fbf6d0a8baa16fa65a37a172543397ee950a.zip Doxygen-5576fbf6d0a8baa16fa65a37a172543397ee950a.tar.gz Doxygen-5576fbf6d0a8baa16fa65a37a172543397ee950a.tar.bz2 |
mods for doxygen-0.49-991106
Diffstat (limited to 'src/formula.cpp')
-rw-r--r-- | src/formula.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/formula.cpp b/src/formula.cpp index 68e74f8..978307d 100644 --- a/src/formula.cpp +++ b/src/formula.cpp @@ -19,8 +19,8 @@ #include "qtbc.h" #include <qfile.h> -#include <qtstream.h> -#include <qfileinf.h> +#include <qtextstream.h> +#include <qfileinfo.h> #include <qdir.h> #include "formula.h" @@ -131,9 +131,9 @@ void FormulaList::generateBitmaps(const char *path) t << "1 1 1 setrgbcolor" << endl; // anti-alias to white background t << "newpath" << endl; t << "-1 -1 moveto" << endl; - t << x2-x1+2 << " -1 lineto" << endl; - t << x2-x1+2 << " " << y2-y1+2 << " lineto" << endl; - t << "-1 " << y2-y1+2 << " lineto" <<endl; + t << (x2-x1+2) << " -1 lineto" << endl; + t << (x2-x1+2) << " " << (y2-y1+2) << " lineto" << endl; + t << "-1 " << (y2-y1+2) << " lineto" <<endl; t << "closepath" << endl; t << "fill" << endl; t << -x1 << " " << -y1 << " translate" << endl; |