summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-12-03 00:48:56 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-12-05 11:58:55 +0900
commitf26a304e63a25d11fec3f7896de72fccd64527a5 (patch)
tree96ca902450be416cf08aff325dfb1effda3eab01
parentae35bc48cbbe82211fa27f49e2d4f3c8bcdbe0ec (diff)
downloadtdepim-f26a304e63a25d11fec3f7896de72fccd64527a5.tar.gz
tdepim-f26a304e63a25d11fec3f7896de72fccd64527a5.zip
Replaced various '#define' with actual strings - part 5
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 6ab7f162f49900770424dba529cba4a8a8a4a242)
-rw-r--r--ktnef/gui/qwmf.cpp2
-rw-r--r--ktnef/lib/ktnefparser.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/ktnef/gui/qwmf.cpp b/ktnef/gui/qwmf.cpp
index 5719eda2..325cccc7 100644
--- a/ktnef/gui/qwmf.cpp
+++ b/ktnef/gui/qwmf.cpp
@@ -352,7 +352,7 @@ bool TQWinMetaFile::paint( const TQPaintDevice* aTarget, bool absolute )
mWinding = false;
mAbsoluteCoord = absolute;
- mPainter.begin( TQT_TQPAINTDEVICE(const_cast<TQPaintDevice*>(aTarget)) );
+ mPainter.begin( const_cast<TQPaintDevice*>(aTarget) );
if ( TQWMF_DEBUG ) {
kdDebug() << "Bounding box : " << mBBox.left()
<< " " << mBBox.top() << " " << mBBox.right() << " " << mBBox.bottom() << endl;
diff --git a/ktnef/lib/ktnefparser.cpp b/ktnef/lib/ktnefparser.cpp
index 749cb948..26bc157f 100644
--- a/ktnef/lib/ktnefparser.cpp
+++ b/ktnef/lib/ktnefparser.cpp
@@ -447,7 +447,7 @@ bool KTNEFParser::openFile(const TQString& filename)
deleteDevice();
delete d->message_;
d->message_ = new KTNEFMessage();
- d->device_ = TQT_TQIODEVICE(new TQFile( filename ));
+ d->device_ = new TQFile( filename );
d->deleteDevice_ = true;
return parseDevice();
}