From abba78f6447070643e683da95f9e2c466533aab9 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Mon, 8 Jul 2013 11:49:12 +0200 Subject: -Werror,-Wdeprecated-register (Clang trunk towards 3.4) Change-Id: I64e4933f7a0a8026ccc7ce98804bfc497d3f0eed --- basic/source/sbx/sbxscan.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'basic') 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 ) -- cgit