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 /svtools | |
parent | b67e29e9adfe9423c086d06a133fc9c551f430e7 (diff) |
-Werror,-Wdeprecated-register (Clang trunk towards 3.4)
Change-Id: I64e4933f7a0a8026ccc7ce98804bfc497d3f0eed
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/dialogs/mcvmath.cxx | 6 | ||||
-rw-r--r-- | svtools/source/svhtml/parhtml.cxx | 6 | ||||
-rw-r--r-- | svtools/source/svrtf/parrtf.cxx | 4 |
3 files changed, 8 insertions, 8 deletions
diff --git a/svtools/source/dialogs/mcvmath.cxx b/svtools/source/dialogs/mcvmath.cxx index 64c43a8870ec..4b0141f45d88 100644 --- a/svtools/source/dialogs/mcvmath.cxx +++ b/svtools/source/dialogs/mcvmath.cxx @@ -68,9 +68,9 @@ Fix ImpMultBig2( const Fix& a, const Fix& b ) sal_uInt16 ImpSqrt( sal_uLong nRadi ) { - register sal_uLong inf = 1; - register sal_uLong sup = nRadi; - register sal_uLong sqr; + sal_uLong inf = 1; + sal_uLong sup = nRadi; + sal_uLong sqr; if ( !nRadi ) return 0; diff --git a/svtools/source/svhtml/parhtml.cxx b/svtools/source/svhtml/parhtml.cxx index 2430d729fcf3..4a59b02656ce 100644 --- a/svtools/source/svhtml/parhtml.cxx +++ b/svtools/source/svhtml/parhtml.cxx @@ -170,7 +170,7 @@ void HTMLOption::GetNumbers( std::vector<sal_uInt32> &rNumbers, bool bSpaceDelim sal_uLong nNum = 0; for( xub_StrLen i=0; i<aValue.Len(); i++ ) { - register sal_Unicode c = aValue.GetChar( i ); + sal_Unicode c = aValue.GetChar( i ); if( c>='0' && c<='9' ) { nNum *= 10; @@ -196,7 +196,7 @@ void HTMLOption::GetNumbers( std::vector<sal_uInt32> &rNumbers, bool bSpaceDelim xub_StrLen nPos = 0; while( nPos < aValue.Len() ) { - register sal_Unicode c; + sal_Unicode c; while( nPos < aValue.Len() && ((c=aValue.GetChar(nPos)) == ' ' || c == '\t' || c == '\n' || c== '\r' ) ) @@ -244,7 +244,7 @@ void HTMLOption::GetColor( Color& rColor ) const { // Whatever Netscape does to get color values, // at maximum three characters < '0' are ignored. - register sal_Unicode c = nPos<aTmp.Len() ? aTmp.GetChar( nPos++ ) + sal_Unicode c = nPos<aTmp.Len() ? aTmp.GetChar( nPos++ ) : '0'; if( c < '0' ) { diff --git a/svtools/source/svrtf/parrtf.cxx b/svtools/source/svrtf/parrtf.cxx index 0ca1c79bb57a..807459f92252 100644 --- a/svtools/source/svrtf/parrtf.cxx +++ b/svtools/source/svrtf/parrtf.cxx @@ -287,8 +287,8 @@ int SvRTFParser::_GetNextToken() sal_Unicode SvRTFParser::GetHexValue() { // Hex-Wert sammeln - register int n; - register sal_Unicode nHexVal = 0; + int n; + sal_Unicode nHexVal = 0; for( n = 0; n < 2; ++n ) { |