summaryrefslogtreecommitdiffstats
path: root/tdehtml/tdehtmlview.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-12-03 00:48:33 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-12-05 12:00:35 +0900
commit44e712a770ad0ab59d33790a80b5f6235cff6921 (patch)
tree9dcde270e75b838740733976badcd5584777a039 /tdehtml/tdehtmlview.cpp
parentcca633c6bdfe25e82f175f251c76e63c9e91b895 (diff)
downloadtdelibs-44e712a770ad0ab59d33790a80b5f6235cff6921.tar.gz
tdelibs-44e712a770ad0ab59d33790a80b5f6235cff6921.zip
Replaced various '#define' with actual strings - part 5
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'tdehtml/tdehtmlview.cpp')
-rw-r--r--tdehtml/tdehtmlview.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tdehtml/tdehtmlview.cpp b/tdehtml/tdehtmlview.cpp
index b3d3d2579..5a3e1ffc1 100644
--- a/tdehtml/tdehtmlview.cpp
+++ b/tdehtml/tdehtmlview.cpp
@@ -2951,7 +2951,7 @@ void TDEHTMLView::print(bool quick)
d->paged = false;
tdehtml::setPrintPainter( 0 );
setMediaType( oldMediaType );
- m_part->xmlDocImpl()->setPaintDevice( TQT_TQPAINTDEVICE(this) );
+ m_part->xmlDocImpl()->setPaintDevice( this );
m_part->xmlDocImpl()->styleSelector()->computeFontSizes(m_part->xmlDocImpl()->paintDeviceMetrics(), m_part->zoomFactor());
m_part->xmlDocImpl()->updateStyleSelector();
viewport()->unsetCursor();
@@ -3002,7 +3002,7 @@ void TDEHTMLView::paint(TQPainter *p, const TQRect &rc, int yOff, bool *more)
root->setPagedMode(false);
root->setStaticMode(false);
- m_part->xmlDocImpl()->setPaintDevice( TQT_TQPAINTDEVICE(this) );
+ m_part->xmlDocImpl()->setPaintDevice( this );
}