summaryrefslogtreecommitdiffstats
path: root/kexi/main/printing
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 /kexi/main/printing
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 'kexi/main/printing')
-rw-r--r--kexi/main/printing/kexisimpleprintpreviewwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kexi/main/printing/kexisimpleprintpreviewwindow.cpp b/kexi/main/printing/kexisimpleprintpreviewwindow.cpp
index b6cb9f44..404237bb 100644
--- a/kexi/main/printing/kexisimpleprintpreviewwindow.cpp
+++ b/kexi/main/printing/kexisimpleprintpreviewwindow.cpp
@@ -52,7 +52,7 @@ void KexiSimplePrintPreviewView::paintEvent( TQPaintEvent *pe )
return;
TQPixmap pm(size()); //dbl buffered
TQPainter p;
- p.begin(TQT_TQPAINTDEVICE(&pm), this);
+ p.begin(&pm, this);
//! @todo only for screen!
p.fillRect(TQRect(TQPoint(0,0),pm.size()), TQBrush(white));//pe->rect(), TQBrush(white));
if (m_window->currentPage()>=0)