summaryrefslogtreecommitdiff
path: root/svl
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2013-04-12 14:19:26 +0200
committerMichael Stahl <mstahl@redhat.com>2013-04-12 19:12:31 +0200
commit85c5f6c1a78fae00fc13c5d1b7f045dc984589fb (patch)
treeded10888d55eab0652440de5db605d09ceb324c1 /svl
parentb8537fba16417aa5a2e940191f094b8671256ee5 (diff)
spurious warning C4701: potentially uninitialized local variable
Change-Id: I2e99cbe9db6d5911f0c2ec61229cd47e07e99cdf
Diffstat (limited to 'svl')
-rw-r--r--svl/source/numbers/zforlist.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svl/source/numbers/zforlist.cxx b/svl/source/numbers/zforlist.cxx
index f432c6eb9b19..6b42aaa64561 100644
--- a/svl/source/numbers/zforlist.cxx
+++ b/svl/source/numbers/zforlist.cxx
@@ -1253,7 +1253,7 @@ sal_uInt32 SvNumberFormatter::ImpGetDefaultFormat( short nType )
{
// look for a defined standard
sal_uInt32 nStopKey = CLOffset + SV_COUNTRY_LANGUAGE_OFFSET;
- sal_uInt32 nKey;
+ sal_uInt32 nKey(0);
SvNumberFormatTable::iterator it2 = aFTable.find( CLOffset );
while ( it2 != aFTable.end() && (nKey = it2->first ) >= CLOffset && nKey < nStopKey )
{
@@ -3364,7 +3364,7 @@ sal_uInt32 SvNumberFormatter::ImpGetDefaultCurrencyFormat()
{
// look for a defined standard
sal_uInt32 nStopKey = CLOffset + SV_COUNTRY_LANGUAGE_OFFSET;
- sal_uInt32 nKey;
+ sal_uInt32 nKey(0);
SvNumberFormatTable::iterator it2 = aFTable.lower_bound( CLOffset );
while ( it2 != aFTable.end() && (nKey = it2->first) >= CLOffset && nKey < nStopKey )
{