summaryrefslogtreecommitdiff
path: root/basic
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-07-08 11:49:12 +0200
committerStephan Bergmann <sbergman@redhat.com>2013-07-08 17:32:25 +0200
commitabba78f6447070643e683da95f9e2c466533aab9 (patch)
tree61975b411c5ba164938b780b606f307ca2b56e6c /basic
parentb67e29e9adfe9423c086d06a133fc9c551f430e7 (diff)
-Werror,-Wdeprecated-register (Clang trunk towards 3.4)
Change-Id: I64e4933f7a0a8026ccc7ce98804bfc497d3f0eed
Diffstat (limited to 'basic')
-rw-r--r--basic/source/sbx/sbxscan.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/basic/source/sbx/sbxscan.cxx b/basic/source/sbx/sbxscan.cxx
index c136e95c61b3..157407ed16d3 100644
--- a/basic/source/sbx/sbxscan.cxx
+++ b/basic/source/sbx/sbxscan.cxx
@@ -313,7 +313,7 @@ static void myftoa( double nNum, char * pBuf, short nPrec, short nExpWidth,
short nExp = 0;
short nDig = nPrec + 1;
short nDec; // number of positions before decimal point
- register int i;
+ int i;
sal_Unicode cDecimalSep, cThousandSep;
ImpGetIntntlSep( cDecimalSep, cThousandSep );
@@ -362,7 +362,7 @@ static void myftoa( double nNum, char * pBuf, short nPrec, short nExpWidth,
// output number
if( nDig > 0 )
{
- register int digit;
+ int digit;
for( i = 0 ; ; ++i )
{
if( i < 16 )