summaryrefslogtreecommitdiffstats
path: root/src/kernel/qpaintdevice_x11.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/qpaintdevice_x11.cpp')
-rw-r--r--src/kernel/qpaintdevice_x11.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/kernel/qpaintdevice_x11.cpp b/src/kernel/qpaintdevice_x11.cpp
index aefd8971a..e3a2617e6 100644
--- a/src/kernel/qpaintdevice_x11.cpp
+++ b/src/kernel/qpaintdevice_x11.cpp
@@ -526,8 +526,8 @@ static void create_dpis()
int i, screens = ScreenCount( dpy );
dpisX = new int[ screens ];
dpisY = new int[ screens ];
- Q_CHECK_PTR( dpisX );
- Q_CHECK_PTR( dpisY );
+ TQ_CHECK_PTR( dpisX );
+ TQ_CHECK_PTR( dpisY );
for ( i = 0; i < screens; i++ ) {
dpisX[ i ] = (DisplayWidth(dpy,i) * 254 + DisplayWidthMM(dpy,i)*5)
@@ -881,7 +881,7 @@ void bitBlt( TQPaintDevice *dst, int dx, int dy,
}
} else if ( ts == TQInternal::Widget ) {// bitBlt to temp pixmap
pm = new TQPixmap( sw, sh );
- Q_CHECK_PTR( pm );
+ TQ_CHECK_PTR( pm );
bitBlt( pm, 0, 0, src, sx, sy, sw, sh );
} else {
#if defined(QT_CHECK_RANGE)