summaryrefslogtreecommitdiffstats
path: root/karbon/tools/vtexttool.cc
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-27 18:42:32 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-27 18:42:32 +0000
commitc625fb33d2ad82ecfe512326b53bb9abf10e9036 (patch)
treee7688c321620b4756ae1f6f2a67006b7edbb90f1 /karbon/tools/vtexttool.cc
parentbda1ab47e26ffa7e28e738b073fb46067e709d49 (diff)
downloadkoffice-c625fb33d2ad82ecfe512326b53bb9abf10e9036.tar.gz
koffice-c625fb33d2ad82ecfe512326b53bb9abf10e9036.zip
Fix koffice Qt4 FTBFS
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1238530 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'karbon/tools/vtexttool.cc')
-rw-r--r--karbon/tools/vtexttool.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/karbon/tools/vtexttool.cc b/karbon/tools/vtexttool.cc
index 259f7c62..ace6c8ce 100644
--- a/karbon/tools/vtexttool.cc
+++ b/karbon/tools/vtexttool.cc
@@ -112,7 +112,7 @@ ShadowPreview::paintEvent( TQPaintEvent* )
int a = 360 - m_parent->shadowAngle();
TQPixmap pm( w, h );
- VKoPainter p( &pm, w, h );
+ VKoPainter p( TQT_TQPAINTDEVICE(&pm), w, h );
VColor color( VColor::rgb );
VFill fill;