-rw-r--r-- | noncore/tools/calc2/engine.cpp | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/noncore/tools/calc2/engine.cpp b/noncore/tools/calc2/engine.cpp index e843e29..74cd701 100644 --- a/noncore/tools/calc2/engine.cpp +++ b/noncore/tools/calc2/engine.cpp @@ -21,6 +21,13 @@ #include "engine.h" + +/* OPIE */ +#include <opie2/odebug.h> + +/* QT */ #include <qstring.h> -#include <math.h> #include <qlcdnumber.h> +/* STD */ +#include <math.h> + Data Engine::evalStack (Data num, bool inbrace = FALSE) @@ -44,3 +51,3 @@ Data Engine::evalStack (Data num, bool inbrace = FALSE) if (isnan (num.dbl) || isinf (num.dbl)) { - qDebug ("bad result from operation"); + odebug << "bad result from operation" << oendl; state = sError; @@ -115,3 +122,3 @@ void Engine::pushValue (char v) } else if (state == sError) { - qDebug ("in error state"); + odebug << "in error state" << oendl; return; |