diff --git a/unotools/source/i18n/charclass.cxx b/unotools/source/i18n/charclass.cxx index cd8d036ab601..35f327238609 100644 --- a/unotools/source/i18n/charclass.cxx +++ b/unotools/source/i18n/charclass.cxx @@ -81,8 +81,8 @@ sal_Bool CharClass::isAsciiNumeric( const String& rStr ) { if ( !rStr.Len() ) return sal_False; - register const sal_Unicode* p = rStr.GetBuffer(); - register const sal_Unicode* const pStop = p + rStr.Len(); + const sal_Unicode* p = rStr.GetBuffer(); + const sal_Unicode* const pStop = p + rStr.Len(); do { if ( !isAsciiDigit( *p ) ) @@ -97,8 +97,8 @@ sal_Bool CharClass::isAsciiAlpha( const String& rStr ) { if ( !rStr.Len() ) return sal_False; - register const sal_Unicode* p = rStr.GetBuffer(); - register const sal_Unicode* const pStop = p + rStr.Len(); + const sal_Unicode* p = rStr.GetBuffer(); + const sal_Unicode* const pStop = p + rStr.Len(); do { if ( !isAsciiAlpha( *p ) )