summaryrefslogtreecommitdiffstats
path: root/karbon/widgets/vcanvas.cc
diff options
context:
space:
mode:
Diffstat (limited to 'karbon/widgets/vcanvas.cc')
-rw-r--r--karbon/widgets/vcanvas.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/karbon/widgets/vcanvas.cc b/karbon/widgets/vcanvas.cc
index d96018b9..9fa5dcd6 100644
--- a/karbon/widgets/vcanvas.cc
+++ b/karbon/widgets/vcanvas.cc
@@ -152,7 +152,7 @@ VCanvas::eventFilter( TQObject* object, TQEvent* event )
}
-// This causes a tqrepaint normally, so just overwriting it omits the repainting
+// This causes a repaint normally, so just overwriting it omits the repainting
void
VCanvas::focusInEvent( TQFocusEvent * )
{
@@ -228,7 +228,7 @@ VCanvas::viewportPaintEvent( TQPaintEvent *e )
setYMirroring( p );
// TRICK : slightly adjust the matrix so libart AA looks better
- TQWMatrix mat = p->tqworldMatrix();
+ TQWMatrix mat = p->worldMatrix();
p->setWorldMatrix( mat.translate( -.5, -.5 ) );
// set up clippath
@@ -305,7 +305,7 @@ VCanvas::drawDocument( TQPainter* /*painter*/, const KoRect&, bool drawVObjects
p->setZoomFactor( m_view->zoom() );
setYMirroring( p );
// TRICK : slightly adjust the matrix so libart AA looks better
- TQWMatrix mat = p->tqworldMatrix();
+ TQWMatrix mat = p->worldMatrix();
p->setWorldMatrix( mat.translate( -.5, -.5 ) );
m_part->document().drawPage( p, m_part->pageLayout(), m_view->showPageMargins() );