cppcheck: reduce scope
Change-Id: I7a20f89e5a113c6c8760d51475d8198e28ad6aac
This commit is contained in:
@@ -1192,10 +1192,10 @@ sal_Bool XMLTransformerBase::NegPercent( OUString& rValue )
|
||||
nVal += (rValue[nPos] - sal_Unicode('0'));
|
||||
nPos++;
|
||||
}
|
||||
double nDiv = 1.;
|
||||
if( nPos < nLen && sal_Unicode('.') == rValue[nPos] )
|
||||
{
|
||||
nPos++;
|
||||
double nDiv = 1.;
|
||||
|
||||
while( nPos < nLen &&
|
||||
sal_Unicode('0') <= rValue[nPos] &&
|
||||
|
Reference in New Issue
Block a user