Kaydet (Commit) 6f36e707 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

-Werror,-Wdeprecated-register

Change-Id: Idacccba79c1c2973e5f20804e628f6043988888d
üst 6e892e37
...@@ -81,8 +81,8 @@ sal_Bool CharClass::isAsciiNumeric( const String& rStr ) ...@@ -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 ) ...@@ -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 ) )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment