summaryrefslogtreecommitdiffstats
path: root/lib/kotext/KoTextDocument.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kotext/KoTextDocument.cpp')
-rw-r--r--lib/kotext/KoTextDocument.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/kotext/KoTextDocument.cpp b/lib/kotext/KoTextDocument.cpp
index de81299c..f981dd26 100644
--- a/lib/kotext/KoTextDocument.cpp
+++ b/lib/kotext/KoTextDocument.cpp
@@ -44,7 +44,7 @@ KoTextDocument::KoTextDocument( KoTextZoomHandler *zoomHandler, KoTextFormatColl
: m_zoomHandler( zoomHandler ),
m_bDestroying( false ),
#ifdef TQTEXTTABLE_AVAILABLE
- par( 0L /*we don't use tqparent documents */ ),
+ par( 0L /*we don't use parent documents */ ),
tc( 0 ),
#endif
tArray( 0 ), tStopWidth( 0 )
@@ -1288,7 +1288,7 @@ void KoTextDocument::drawParagWYSIWYG( TQPainter *p, KoTextParag *parag, int cx,
brush.color() == TQt::white &&
is_printer(p));
- bool useDoubleBuffer = !parag->document()->tqparent();
+ bool useDoubleBuffer = !parag->document()->parent();
if ( is_printer(p) )
useDoubleBuffer = FALSE;
// Can't handle transparency using double-buffering, in case of rotation/scaling (due to bitBlt)