summaryrefslogtreecommitdiffstats
path: root/src/kernel/qpixmap_x11.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2020-01-30 20:17:32 +0900
committerSlávek Banko <slavek.banko@axis.cz>2021-02-01 23:39:38 +0100
commit961eb3f6e276b4a3609328a3076ef790026e9c03 (patch)
treef27de88e666ac3e067e01b15ac60a103eb3c559f /src/kernel/qpixmap_x11.cpp
parentb08a6d71ba872e67b75a822fcd44670126975818 (diff)
downloadqt3-961eb3f6e276b4a3609328a3076ef790026e9c03.tar.gz
qt3-961eb3f6e276b4a3609328a3076ef790026e9c03.zip
Removed explicit usage of the 'register' keyword.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/kernel/qpixmap_x11.cpp')
-rw-r--r--src/kernel/qpixmap_x11.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kernel/qpixmap_x11.cpp b/src/kernel/qpixmap_x11.cpp
index 28d2926..79464de 100644
--- a/src/kernel/qpixmap_x11.cpp
+++ b/src/kernel/qpixmap_x11.cpp
@@ -290,7 +290,7 @@ extern const uchar *qt_get_bitflip_array(); // defined in qimage.cpp
static uchar *flip_bits( const uchar *bits, int len )
{
- register const uchar *p = bits;
+ const uchar *p = bits;
const uchar *end = p + len;
uchar *newdata = new uchar[len];
uchar *b = newdata;
@@ -958,7 +958,7 @@ QImage QPixmap::convertToImage() const
image.setColor( 0, qRgb(255,255,255) );
image.setColor( 1, qRgb(0,0,0) );
} else if ( !trucol ) { // pixmap with colormap
- register uchar *p;
+ uchar *p;
uchar *end;
uchar use[256]; // pixel-in-use table
uchar pix[256]; // pixel translation table