Kaydet (Commit) cc911e8b authored tarafından Eike Rathke's avatar Eike Rathke

just nitpicking on scope

Change-Id: I01969fb4596e7866ddb348d026a22f45deeef0c8
üst ba17f5a3
...@@ -2710,7 +2710,6 @@ class MaxNumStringLenHandler ...@@ -2710,7 +2710,6 @@ class MaxNumStringLenHandler
OUString aString; OUString aString;
OUString aSep; OUString aSep;
sal_Int32 nLen;
sal_uInt16 nPrec; sal_uInt16 nPrec;
sal_uInt32 nFormat = static_cast<const SfxUInt32Item*>( sal_uInt32 nFormat = static_cast<const SfxUInt32Item*>(
mrColumn.GetAttr(nRow, ATTR_VALUE_FORMAT))->GetValue(); mrColumn.GetAttr(nRow, ATTR_VALUE_FORMAT))->GetValue();
...@@ -2748,7 +2747,7 @@ class MaxNumStringLenHandler ...@@ -2748,7 +2747,7 @@ class MaxNumStringLenHandler
nPrec = SvNumberFormatter::UNLIMITED_PRECISION; nPrec = SvNumberFormatter::UNLIMITED_PRECISION;
} }
nLen = aString.getLength(); sal_Int32 nLen = aString.getLength();
if (nLen <= 0) if (nLen <= 0)
// Ignore empty string. // Ignore empty string.
return; return;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment