summaryrefslogtreecommitdiffstats
path: root/kivio/kiviopart/kivio_canvas.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-12-03 00:36:33 +0900
committerMichele Calgaro <[email protected]>2023-12-05 11:33:58 +0900
commit9abcf51de91242d1ab70230ba46abd2108416edf (patch)
treeb06138af56a2addecdb37e556deb89f4972d59b8 /kivio/kiviopart/kivio_canvas.cpp
parent5761876d3a71e9b3c5a93b5b535b071d2240b08e (diff)
downloadkoffice-9abcf51de91242d1ab70230ba46abd2108416edf.tar.gz
koffice-9abcf51de91242d1ab70230ba46abd2108416edf.zip
Replaced various '#define' with actual strings - part 5
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit fb6b4d204d1155fa3a1bc7a128873340db1524f7)
Diffstat (limited to 'kivio/kiviopart/kivio_canvas.cpp')
-rw-r--r--kivio/kiviopart/kivio_canvas.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kivio/kiviopart/kivio_canvas.cpp b/kivio/kiviopart/kivio_canvas.cpp
index e6a192fe..89695d24 100644
--- a/kivio/kiviopart/kivio_canvas.cpp
+++ b/kivio/kiviopart/kivio_canvas.cpp
@@ -331,7 +331,7 @@ void KivioCanvas::paintEvent( TQPaintEvent* ev )
// Draw content
KivioScreenPainter kpainter;
- kpainter.start(TQT_TQPAINTDEVICE(m_buffer));
+ kpainter.start(m_buffer);
kpainter.translateBy(-m_iXOffset + m_pageOffsetX, -m_iYOffset + m_pageOffsetY);
m_pDoc->paintContent(kpainter, paintRect, false, page, TQPoint(0, 0), m_pView->zoomHandler(), showConnectorTargets(), true);
kpainter.stop();
@@ -706,7 +706,7 @@ void KivioCanvas::beginUnclippedSpawnerPainter()
unclippedSpawnerPainter = new KivioScreenPainter();
// Tell it to start (allocates a Qpainter object)
- unclippedSpawnerPainter->start(TQT_TQPAINTDEVICE(this));
+ unclippedSpawnerPainter->start(this);
// Uhhhhh??
if( !unclipped )