summaryrefslogtreecommitdiff
path: root/cui/source/tabpages
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-01-26 09:22:02 +0000
committerCaolán McNamara <caolanm@redhat.com>2011-01-26 09:22:02 +0000
commit7c2a012c36577b7c717bce9fb559815c05b2fed1 (patch)
treea380907a8d69a9a81731704908003c91ce72354a /cui/source/tabpages
parentfa2526c545f8fa64c8b91018428e27b2e2d8376e (diff)
WaE: gcc 4.6.0 various warnings
Diffstat (limited to 'cui/source/tabpages')
-rw-r--r--cui/source/tabpages/numfmt.cxx11
1 files changed, 1 insertions, 10 deletions
diff --git a/cui/source/tabpages/numfmt.cxx b/cui/source/tabpages/numfmt.cxx
index f8dc6dcebfa5..238174cf0c00 100644
--- a/cui/source/tabpages/numfmt.cxx
+++ b/cui/source/tabpages/numfmt.cxx
@@ -963,18 +963,10 @@ void SvxNumberFormatTabPage::UpdateOptions_Impl( BOOL bCheckCatChange /*= FALSE*
USHORT nZeroes = 0;
BOOL bNegRed = FALSE;
BOOL bThousand = FALSE;
- short nTmpCatPos;
USHORT nCurrencyPos =aLbCurrency.GetSelectEntryPos();
if(bOneAreaFlag)
- {
- nTmpCatPos=nFixedCategory;
nCurCategory=nFixedCategory;
- }
- else
- {
- nTmpCatPos=nCurCategory;
- }
pNumFmtShell->GetOptions( theFormat,
@@ -1782,7 +1774,6 @@ void SvxNumberFormatTabPage::FillCurrencyBox()
SvStringsDtor aList;
NfShCurrencyEntries rEntries;
XubString* pEntry = NULL;
- USHORT nPos=0;
USHORT nSelPos=0;
pNumFmtShell->GetCurrencySymbols( aList, &nSelPos);
@@ -1790,7 +1781,7 @@ void SvxNumberFormatTabPage::FillCurrencyBox()
for(USHORT i=1;i<aList.Count();i++)
{
pEntry=aList[i];
- nPos=aLbCurrency.InsertEntry( *pEntry);
+ aLbCurrency.InsertEntry( *pEntry);
}
aLbCurrency.SelectEntryPos(nSelPos);
}