From 2afc8bbbe4f529c5847cfbe1757e55c47e4656fe Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 30 Jan 2020 20:17:35 +0900 Subject: Removed explicit usage of the 'register' keyword. Signed-off-by: Michele Calgaro (cherry picked from commit 8250c8e42310cb39ceb6ae425bc8546208733e99) --- tdm/kfrontend/themer/tdmitem.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tdm/kfrontend/themer') diff --git a/tdm/kfrontend/themer/tdmitem.cpp b/tdm/kfrontend/themer/tdmitem.cpp index f5eabdb56..10218c886 100644 --- a/tdm/kfrontend/themer/tdmitem.cpp +++ b/tdm/kfrontend/themer/tdmitem.cpp @@ -306,9 +306,9 @@ KdmItem::paint( TQPainter *p, const TQRect &rect ) TQImage lightVersion; lightVersion = copy.convertToImage(); - register uchar * r = lightVersion.bits(); - register uchar * g = lightVersion.bits() + 1; - register uchar * b = lightVersion.bits() + 2; + uchar * r = lightVersion.bits(); + uchar * g = lightVersion.bits() + 1; + uchar * b = lightVersion.bits() + 2; uchar * end = lightVersion.bits() + lightVersion.numBytes(); while ( r != end ) { @@ -345,7 +345,7 @@ KdmItem::paint( TQPainter *p, const TQRect &rect ) TQImage img( myWidget->size(), 32 ); img = img.convertDepth(32); img.setAlphaBuffer(true); - register uchar * rd = img.bits(); + uchar * rd = img.bits(); for( int y = 0; y < img.height(); ++y ) { for( short int x = 0; x < img.width(); ++x ) -- cgit v1.2.1