diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2013-11-10 14:30:49 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2013-11-10 14:32:25 +0100 |
commit | fd2d0bc88fe05b53f45658d82f29c02511ea90fa (patch) | |
tree | 43bd2a92410737ae32b35dfe1af749af2d60aab4 | |
parent | 3296e26be4cf73a9a1a3e0276c4b50b50b5bd5c6 (diff) |
cppcheck: reduce scope
Change-Id: I7a20f89e5a113c6c8760d51475d8198e28ad6aac
-rw-r--r-- | xmloff/source/transform/TransformerBase.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmloff/source/transform/TransformerBase.cxx b/xmloff/source/transform/TransformerBase.cxx index 37662a591004..767f006c2ba1 100644 --- a/xmloff/source/transform/TransformerBase.cxx +++ b/xmloff/source/transform/TransformerBase.cxx @@ -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] && |