summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2014-04-01 15:59:45 +0200
committerEike Rathke <erack@redhat.com>2014-04-02 16:58:50 +0200
commitcc911e8bc428b16cff9fdc77c10d470110c4531b (patch)
treef48beed9a2dcb077ec896d5345013446e325b71a
parentba17f5a34480f76942414eab79e297ae5fad59b7 (diff)
just nitpicking on scope
Change-Id: I01969fb4596e7866ddb348d026a22f45deeef0c8
-rw-r--r--sc/source/core/data/column3.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sc/source/core/data/column3.cxx b/sc/source/core/data/column3.cxx
index 86ee9a269648..38a92c031979 100644
--- a/sc/source/core/data/column3.cxx
+++ b/sc/source/core/data/column3.cxx
@@ -2710,7 +2710,6 @@ class MaxNumStringLenHandler
OUString aString;
OUString aSep;
- sal_Int32 nLen;
sal_uInt16 nPrec;
sal_uInt32 nFormat = static_cast<const SfxUInt32Item*>(
mrColumn.GetAttr(nRow, ATTR_VALUE_FORMAT))->GetValue();
@@ -2748,7 +2747,7 @@ class MaxNumStringLenHandler
nPrec = SvNumberFormatter::UNLIMITED_PRECISION;
}
- nLen = aString.getLength();
+ sal_Int32 nLen = aString.getLength();
if (nLen <= 0)
// Ignore empty string.
return;