From 3849f5c32c10eba032a6738fd47331c0fa6afe1c Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sun, 3 Dec 2023 00:48:24 +0900 Subject: Replaced various '#define' with actual strings - part 5 Signed-off-by: Michele Calgaro --- kolourpaint/pixmapfx/kppixmapfx.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'kolourpaint/pixmapfx') diff --git a/kolourpaint/pixmapfx/kppixmapfx.cpp b/kolourpaint/pixmapfx/kppixmapfx.cpp index ac5fca44..cbc69b1d 100644 --- a/kolourpaint/pixmapfx/kppixmapfx.cpp +++ b/kolourpaint/pixmapfx/kppixmapfx.cpp @@ -694,9 +694,9 @@ void kpPixmapFX::setPixmapAt (TQPixmap *destPixmapPtr, const TQRect &destRect, 0, 0, destRect.width (), destRect.height ()); #else - bitBlt (TQT_TQPAINTDEVICE(destPixmapPtr), + bitBlt (destPixmapPtr, destRect.x (), destRect.y (), - TQT_TQPAINTDEVICE(const_cast(&srcPixmap)), + const_cast(&srcPixmap), 0, 0, destRect.width (), destRect.height (), TQt::CopyROP, @@ -705,9 +705,9 @@ void kpPixmapFX::setPixmapAt (TQPixmap *destPixmapPtr, const TQRect &destRect, if (srcPixmap.mask ()) { TQBitmap mask = getNonNullMask (*destPixmapPtr); - bitBlt (TQT_TQPAINTDEVICE(&mask), + bitBlt (&mask, destRect.x (), destRect.y (), - TQT_TQPAINTDEVICE(const_cast(srcPixmap.mask ())), + const_cast(srcPixmap.mask ()), 0, 0, destRect.width (), destRect.height (), TQt::CopyROP, -- cgit v1.2.3