diff options
author | Michele Calgaro <[email protected]> | 2023-08-25 11:21:54 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-08-29 12:16:41 +0900 |
commit | 73836b4ca5f241d070dd34ac1d9bb828e05f9544 (patch) | |
tree | 001b3935b9362f17083be2a8225e6ff42afc2019 /lib/kotext/KoRichText.cpp | |
parent | 1607518b8c749b4195c5ab11b405f77001526a6a (diff) | |
download | koffice-73836b4ca5f241d070dd34ac1d9bb828e05f9544.tar.gz koffice-73836b4ca5f241d070dd34ac1d9bb828e05f9544.zip |
Drop USE_TQT4 code
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit e0df02598b8e19d8b6ddf07fdbca661489ab2e99)
Diffstat (limited to 'lib/kotext/KoRichText.cpp')
-rw-r--r-- | lib/kotext/KoRichText.cpp | 6 |
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 |