-Werror,-Wdeprecated-register

Change-Id: Idacccba79c1c2973e5f20804e628f6043988888d
This commit is contained in:
Stephan Bergmann
2013-06-20 16:38:40 +02:00
parent 6e892e374b
commit 6f36e70795

View File

@@ -81,8 +81,8 @@ sal_Bool CharClass::isAsciiNumeric( const String& rStr )
{ {
if ( !rStr.Len() ) if ( !rStr.Len() )
return sal_False; return sal_False;
register const sal_Unicode* p = rStr.GetBuffer(); const sal_Unicode* p = rStr.GetBuffer();
register const sal_Unicode* const pStop = p + rStr.Len(); const sal_Unicode* const pStop = p + rStr.Len();
do do
{ {
if ( !isAsciiDigit( *p ) ) if ( !isAsciiDigit( *p ) )
@@ -97,8 +97,8 @@ sal_Bool CharClass::isAsciiAlpha( const String& rStr )
{ {
if ( !rStr.Len() ) if ( !rStr.Len() )
return sal_False; return sal_False;
register const sal_Unicode* p = rStr.GetBuffer(); const sal_Unicode* p = rStr.GetBuffer();
register const sal_Unicode* const pStop = p + rStr.Len(); const sal_Unicode* const pStop = p + rStr.Len();
do do
{ {
if ( !isAsciiAlpha( *p ) ) if ( !isAsciiAlpha( *p ) )