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-04 00:14:22 +0900
commit6ab7f162f49900770424dba529cba4a8a8a4a242 (patch)
treeb4d6e5c5d2e737c5c8ab2b5a0b16843b544bce9d
parentef173e633b7d068c4ddd2209af41899ec44e47ce (diff)
downloadtdepim-6ab7f162f49900770424dba529cba4a8a8a4a242.tar.gz
tdepim-6ab7f162f49900770424dba529cba4a8a8a4a242.zip
Replaced various '#define' with actual strings - part 5
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-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 5719eda26..325cccc71 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 749cb948a..26bc157f6 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();
}