summaryrefslogtreecommitdiffstats
path: root/kexi/main
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 /kexi/main
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 'kexi/main')
-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)