summaryrefslogtreecommitdiff
path: root/svl
diff options
context:
space:
mode:
authorKayo Hamid <kayo.hamid@gekkolinux.com.br>2011-04-22 11:34:11 +0200
committerCédric Bosdonnat <cedric.bosdonnat.ooo@free.fr>2011-04-22 11:34:11 +0200
commit76ffa2189837398beb09f65438d3180f7e32c6fc (patch)
treef88e218bc91056896805c8bd4d718d62446ffac9 /svl
parent9ab9d69c7da783d0c528ce58f9c8af54990eae6c (diff)
cppcheck variableScope
Diffstat (limited to 'svl')
-rw-r--r--svl/source/numbers/zformat.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svl/source/numbers/zformat.cxx b/svl/source/numbers/zformat.cxx
index 238717bca163..421cc8769f16 100644
--- a/svl/source/numbers/zformat.cxx
+++ b/svl/source/numbers/zformat.cxx
@@ -3548,11 +3548,11 @@ sal_Bool SvNumberformat::ImpGetNumberOutput(double fNumber,
sal_uInt16 i, j;
xub_StrLen k;
String sStr;
- long nPrecExp;
sal_Bool bInteger = sal_False;
if ( rInfo.nThousand != FLAG_STANDARD_IN_FORMAT )
{ // special formatting only if no GENERAL keyword in format code
const sal_uInt16 nThousand = rInfo.nThousand;
+ long nPrecExp;
for (i = 0; i < nThousand; i++)
{
if (fNumber > _D_MIN_M_BY_1000)