[Libreoffice-commits] core.git: unotools/source

Stephan Bergmann sbergman at redhat.com
Thu Jun 20 07:39:05 PDT 2013


 unotools/source/i18n/charclass.cxx |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

New commits:
commit 6f36e70795743690c59042e20f1c2059b00f84b7
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Thu Jun 20 16:38:40 2013 +0200

    -Werror,-Wdeprecated-register
    
    Change-Id: Idacccba79c1c2973e5f20804e628f6043988888d

diff --git a/unotools/source/i18n/charclass.cxx b/unotools/source/i18n/charclass.cxx
index cd8d036..35f3272 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 ) )


More information about the Libreoffice-commits mailing list