summaryrefslogtreecommitdiffstats
path: root/kivio/kiviopart/kiviodragobject.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-12-03 00:36:33 +0900
committerMichele Calgaro <[email protected]>2023-12-04 14:19:15 +0900
commitfb6b4d204d1155fa3a1bc7a128873340db1524f7 (patch)
tree58fbd21cd52695207154b1b40d0c9d0f53db19b1 /kivio/kiviopart/kiviodragobject.cpp
parentd7ae9fb514226c126e04cfe4f34800beb9f4ea19 (diff)
downloadkoffice-fb6b4d204d1155fa3a1bc7a128873340db1524f7.tar.gz
koffice-fb6b4d204d1155fa3a1bc7a128873340db1524f7.zip
Replaced various '#define' with actual strings - part 5
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'kivio/kiviopart/kiviodragobject.cpp')
-rw-r--r--kivio/kiviopart/kiviodragobject.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kivio/kiviopart/kiviodragobject.cpp b/kivio/kiviopart/kiviodragobject.cpp
index 1649cfc3..bfe4ff55 100644
--- a/kivio/kiviopart/kiviodragobject.cpp
+++ b/kivio/kiviopart/kiviodragobject.cpp
@@ -160,7 +160,7 @@ TQByteArray KivioDragObject::imageEncoded(const char* mimetype) const
TQPixmap buffer(zoomHandler.zoomItX(m_stencilRect.width()), zoomHandler.zoomItY(m_stencilRect.height()));
buffer.fill(TQt::white);
KivioScreenPainter p;
- p.start( TQT_TQPAINTDEVICE(&buffer) );
+ p.start( &buffer );
p.setTranslation(-zoomHandler.zoomItX(m_stencilRect.x()), -zoomHandler.zoomItY(m_stencilRect.y()));
KivioIntraStencilData data;
data.painter = &p;