summaryrefslogtreecommitdiff
path: root/svl
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2012-04-24 14:07:16 +0200
committerStephan Bergmann <sbergman@redhat.com>2012-04-24 14:08:55 +0200
commitb8184381bfa5fce44560d01ee8f3ed321cef4bb5 (patch)
tree7d6572e551881139dee1ee73601951169d600646 /svl
parentfc7a55fd3f2df0ffc9ea64751ebdc187a58b778c (diff)
Revert "Avoid bogus warnings (GCC 4.4.6)"
This reverts commit cf9c715aee2f97a1a6f611fe46a47e238cb03658. 3c82780cbc7cf17cf348e7f49b99663cfdc42ed7 "Set gb_DEBUGLEVEL=1 for --enable-dbgutil after all" fixes the underlying problem, making this awkward workaround no longer necessary.
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 93007aba6203..83a123296a33 100644
--- a/svl/source/numbers/zforlist.cxx
+++ b/svl/source/numbers/zforlist.cxx
@@ -1303,7 +1303,7 @@ sal_uInt32 SvNumberFormatter::ImpGetDefaultFormat( short nType )
if ( nDefaultFormat == NUMBERFORMAT_ENTRY_NOT_FOUND )
{ // look for a defined standard
sal_uInt32 nStopKey = CLOffset + SV_COUNTRY_LANGUAGE_OFFSET;
- sal_uInt32 nKey = 0; // avoid bogus warning (GCC 4.4.6)
+ sal_uInt32 nKey;
SvNumberFormatTable::iterator it2 = aFTable.find( CLOffset );
while ( it2 != aFTable.end() && (nKey = it2->first ) >= CLOffset && nKey < nStopKey )
{
@@ -3326,7 +3326,7 @@ sal_uInt32 SvNumberFormatter::ImpGetDefaultCurrencyFormat()
{
// look for a defined standard
sal_uInt32 nStopKey = CLOffset + SV_COUNTRY_LANGUAGE_OFFSET;
- sal_uInt32 nKey = 0; // avoid bogus warning (GCC 4.4.6)
+ sal_uInt32 nKey;
SvNumberFormatTable::iterator it2 = aFTable.lower_bound( CLOffset );
while ( it2 != aFTable.end() && (nKey = it2->first) >= CLOffset && nKey < nStopKey )
{