diff options
Diffstat (limited to 'khtml/test_regression_fontoverload.cpp')
-rw-r--r-- | khtml/test_regression_fontoverload.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/khtml/test_regression_fontoverload.cpp b/khtml/test_regression_fontoverload.cpp index a10146480..93f698ed2 100644 --- a/khtml/test_regression_fontoverload.cpp +++ b/khtml/test_regression_fontoverload.cpp @@ -98,7 +98,7 @@ QFakeFontEngine::QFakeFontEngine( XFontStruct *fs, const char *name, int size ) : QFontEngineXLFD( fs, name, 0) { pixS = size; - ahem = TQString::fromLatin1(name).contains("ahem"); + ahem = TQString::tqfromLatin1(name).contains("ahem"); } QFakeFontEngine::~QFakeFontEngine() @@ -152,7 +152,7 @@ int QFakeFontEngine::leading() const // the original uses double and creates quite random results depending // on the compiler flags int l = ( _size * 15 + 50) / 100; - // only valid on i386 without -O2 assert(l == int(qRound(_size * 0.15))); + // only valid on i386 without -O2 assert(l == int(tqRound(_size * 0.15))); return (l > 0) ? l : 1; } |