diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 1999-12-15 19:37:58 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 1999-12-15 19:37:58 (GMT) |
commit | 916d6d5c6f6c9d14c4c9a636582671c81447f54a (patch) | |
tree | b859924ab8503fed25bbfbc7ea96b72b9dee34b0 /src/formula.cpp | |
parent | a54eecdf4b3c961ff41bc5d3ea6f21713e08f903 (diff) | |
download | Doxygen-916d6d5c6f6c9d14c4c9a636582671c81447f54a.zip Doxygen-916d6d5c6f6c9d14c4c9a636582671c81447f54a.tar.gz Doxygen-916d6d5c6f6c9d14c4c9a636582671c81447f54a.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; |