summaryrefslogtreecommitdiffstats
path: root/lib/kofficecore/KoChild.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kofficecore/KoChild.cpp')
-rw-r--r--lib/kofficecore/KoChild.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/kofficecore/KoChild.cpp b/lib/kofficecore/KoChild.cpp
index 41dfee8f..e7752347 100644
--- a/lib/kofficecore/KoChild.cpp
+++ b/lib/kofficecore/KoChild.cpp
@@ -123,9 +123,9 @@ void KoChild::setClipRegion( TQPainter &painter, bool combine )
{
painter.setClipping( true );
if ( combine && !painter.clipRegion().isEmpty() )
- painter.setClipRegion( region( painter.tqworldMatrix() ).intersect( painter.clipRegion() ) );
+ painter.setClipRegion( region( painter.worldMatrix() ).intersect( painter.clipRegion() ) );
else
- painter.setClipRegion( region( painter.tqworldMatrix() ) );
+ painter.setClipRegion( region( painter.worldMatrix() ) );
}
void KoChild::setScaling( double x, double y )
@@ -218,7 +218,7 @@ void KoChild::transform( TQPainter &painter )
{
setClipRegion( painter, true );
- TQWMatrix m = painter.tqworldMatrix();
+ TQWMatrix m = painter.worldMatrix();
m = d->m_matrix * m;
m.scale( d->m_scaleX, d->m_scaleY );
painter.setWorldMatrix( m );