summaryrefslogtreecommitdiffstats
path: root/src/kernel/qregion_x11.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/qregion_x11.cpp')
-rw-r--r--src/kernel/qregion_x11.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/kernel/qregion_x11.cpp b/src/kernel/qregion_x11.cpp
index 2094a00c..3cd7d343 100644
--- a/src/kernel/qregion_x11.cpp
+++ b/src/kernel/qregion_x11.cpp
@@ -2435,7 +2435,7 @@ TQRegion::TQRegion()
if ( !empty_region ) { // avoid too many allocs
qAddPostRoutine( cleanup_empty_region );
empty_region = new TQRegion( TRUE );
- Q_CHECK_PTR( empty_region );
+ TQ_CHECK_PTR( empty_region );
}
data = empty_region->data;
data->ref();
@@ -2448,7 +2448,7 @@ TQRegion::TQRegion()
TQRegion::TQRegion( bool is_null )
{
data = new TQRegionData;
- Q_CHECK_PTR( data );
+ TQ_CHECK_PTR( data );
data->region = new TQRegionPrivate;
data->is_null = is_null;
data->rgn = 0;
@@ -2471,13 +2471,13 @@ TQRegion::TQRegion( const TQRect &r, RegionType t )
if ( !empty_region ) { // avoid too many allocs
qAddPostRoutine( cleanup_empty_region );
empty_region = new TQRegion( TRUE );
- Q_CHECK_PTR( empty_region );
+ TQ_CHECK_PTR( empty_region );
}
data = empty_region->data;
data->ref();
} else {
data = new TQRegionData;
- Q_CHECK_PTR( data );
+ TQ_CHECK_PTR( data );
data->is_null = FALSE;
data->rgn = 0;
data->xrectangles = 0;
@@ -2508,7 +2508,7 @@ TQRegion::TQRegion( const TQPointArray &a, bool winding )
{
if (a.size() > 2) {
data = new TQRegionData;
- Q_CHECK_PTR( data );
+ TQ_CHECK_PTR( data );
data->is_null = FALSE;
data->rgn = 0;
data->xrectangles = 0;
@@ -2518,7 +2518,7 @@ TQRegion::TQRegion( const TQPointArray &a, bool winding )
if ( !empty_region ) {
qAddPostRoutine( cleanup_empty_region );
empty_region = new TQRegion( TRUE );
- Q_CHECK_PTR( empty_region );
+ TQ_CHECK_PTR( empty_region );
}
data = empty_region->data;
data->ref();
@@ -2553,13 +2553,13 @@ TQRegion::TQRegion( const TQBitmap & bm )
if ( !empty_region ) { // avoid too many allocs
qAddPostRoutine( cleanup_empty_region );
empty_region = new TQRegion( TRUE );
- Q_CHECK_PTR( empty_region );
+ TQ_CHECK_PTR( empty_region );
}
data = empty_region->data;
data->ref();
} else {
data = new TQRegionData;
- Q_CHECK_PTR( data );
+ TQ_CHECK_PTR( data );
data->is_null = FALSE;
data->rgn = 0;
data->xrectangles = 0;