spurious warning C4701: potentially uninitialized local variable
Change-Id: I2e99cbe9db6d5911f0c2ec61229cd47e07e99cdf
This commit is contained in:
parent
b8537fba16
commit
85c5f6c1a7
@ -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 )
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user