diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2013-07-08 11:49:12 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2013-07-08 17:32:25 +0200 |
commit | abba78f6447070643e683da95f9e2c466533aab9 (patch) | |
tree | 61975b411c5ba164938b780b606f307ca2b56e6c /i18npool | |
parent | -Werror,-Wlogical-not-parentheses (Clang trunk towards 3.4) (diff) | |
download | core-abba78f6447070643e683da95f9e2c466533aab9.tar.gz core-abba78f6447070643e683da95f9e2c466533aab9.zip |
-Werror,-Wdeprecated-register (Clang trunk towards 3.4)
Change-Id: I64e4933f7a0a8026ccc7ce98804bfc497d3f0eed
Diffstat (limited to 'i18npool')
-rw-r--r-- | i18npool/source/search/levdis.cxx | 4 | ||||
-rw-r--r-- | i18npool/source/search/textsearch.cxx | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/i18npool/source/search/levdis.cxx b/i18npool/source/search/levdis.cxx index eaba9fd1c1f1..53dfc2fa2767 100644 --- a/i18npool/source/search/levdis.cxx +++ b/i18npool/source/search/levdis.cxx @@ -80,7 +80,7 @@ { \ if ( jj != ii ) \ { \ - register sal_Int32 k; \ + sal_Int32 k; \ if ( jj > 0 ) \ for ( k=0; k < jj; k++ ) \ if ( cpPattern[k] == c ) \ @@ -223,7 +223,7 @@ int WLevDistance::WLD( const sal_Unicode* cString, sal_Int32 nStringLen ) nSPMin = npDistance[0]; int nReplacePos = -1; // tristate Flag // fuer jede Patternspalte den String durchgehen - for ( register sal_Int32 i=1; i <= nStringLen; i++ ) + for ( sal_Int32 i=1; i <= nStringLen; i++ ) { d1 = d2; // WLD( X(i-1), Y(j-1) ) d2 = npDistance[i]; // WLD( X(i) , Y(j-1) ) diff --git a/i18npool/source/search/textsearch.cxx b/i18npool/source/search/textsearch.cxx index 7762832098b0..695337788ac8 100644 --- a/i18npool/source/search/textsearch.cxx +++ b/i18npool/source/search/textsearch.cxx @@ -908,7 +908,7 @@ SearchResult TextSearch::ApproxSrchFrwrd( const OUString& searchStr, OUString aWTemp( searchStr ); - register sal_Int32 nStt, nEnd; + sal_Int32 nStt, nEnd; Boundary aWBnd = xBreak->getWordBoundary( aWTemp, startPos, aSrchPara.Locale, @@ -955,7 +955,7 @@ SearchResult TextSearch::ApproxSrchBkwrd( const OUString& searchStr, OUString aWTemp( searchStr ); - register sal_Int32 nStt, nEnd; + sal_Int32 nStt, nEnd; Boundary aWBnd = xBreak->getWordBoundary( aWTemp, startPos, aSrchPara.Locale, |