summaryrefslogtreecommitdiffstats
path: root/lib/kotext/KoRichText.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kotext/KoRichText.cpp')
-rw-r--r--lib/kotext/KoRichText.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/kotext/KoRichText.cpp b/lib/kotext/KoRichText.cpp
index 5d3e99d1..b6787b25 100644
--- a/lib/kotext/KoRichText.cpp
+++ b/lib/kotext/KoRichText.cpp
@@ -1243,11 +1243,6 @@ void KoTextString::checkBidi() const
const KoTextStringChar *end = start + length;
// determines the properties we need for layouting
-#ifdef USE_QT4
- #warning "KoTextString::checkBidi() for Qt4 partially implemented"
- printf("[WARNING] KoTextString::checkBidi() partially implemented\n");
- fflush(stdout);
-#else
TQTextEngine textEngine( toString(), 0 );
textEngine.direction = (TQChar::Direction) dir;
textEngine.itemize(TQTextEngine::SingleLine);
@@ -1286,7 +1281,6 @@ void KoTextString::checkBidi() const
} else {
that->rightToLeft = (textEngine.direction == TQChar::DirR);
}
-#endif // USE_QT4
}
TQMemArray<KoTextStringChar> KoTextString::subString( int start, int len ) const