summaryrefslogtreecommitdiffstats
path: root/src/tools/qgdict.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/qgdict.cpp')
-rw-r--r--src/tools/qgdict.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/tools/qgdict.cpp b/src/tools/qgdict.cpp
index e794a43f1..00b5c2017 100644
--- a/src/tools/qgdict.cpp
+++ b/src/tools/qgdict.cpp
@@ -95,7 +95,7 @@ int TQGDict::hashKeyString( const TQString &key )
tqWarning( "TQGDict::hashKeyString: Invalid null key" );
#endif
int i;
- register uint h=0;
+ uint h=0;
uint g;
const TQChar *p = key.unicode();
if ( cases ) { // case sensitive
@@ -129,8 +129,8 @@ int TQGDict::hashKeyAscii( const char *key )
if ( key == 0 )
tqWarning( "TQGDict::hashAsciiKey: Invalid null key" );
#endif
- register const char *k = key;
- register uint h=0;
+ const char *k = key;
+ uint h=0;
uint g;
if ( cases ) { // case sensitive
while ( *k ) {
@@ -1080,8 +1080,8 @@ TQPtrCollection::Item TQGDictIterator::toFirst()
curNode = 0;
return 0;
}
- register uint i = 0;
- register TQBaseBucket **v = dict->vec;
+ uint i = 0;
+ TQBaseBucket **v = dict->vec;
while ( !(*v++) )
i++;
curNode = dict->vec[i];
@@ -1125,8 +1125,8 @@ TQPtrCollection::Item TQGDictIterator::operator++()
return 0;
curNode = curNode->getNext();
if ( !curNode ) { // no next bucket
- register uint i = curIndex + 1; // look from next vec element
- register TQBaseBucket **v = &dict->vec[i];
+ uint i = curIndex + 1; // look from next vec element
+ TQBaseBucket **v = &dict->vec[i];
while ( i < dict->size() && !(*v++) )
i++;
if ( i == dict->size() ) { // nothing found