summaryrefslogtreecommitdiff
path: root/svx/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-02-14 09:09:58 +0000
committerCaolán McNamara <caolanm@redhat.com>2011-02-14 09:09:58 +0000
commit1c6807408229e0c6cfc2f75e79031c7a4a72d6a0 (patch)
tree70380363a6a372b5bdfa00585016a8c7aaef5f5b /svx/source
parentaffae78312196c18e8f455d3f2b945012d0f41b2 (diff)
WaE: var set but unused
Diffstat (limited to 'svx/source')
-rw-r--r--svx/source/items/numfmtsh.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/svx/source/items/numfmtsh.cxx b/svx/source/items/numfmtsh.cxx
index 87cee0782c11..6314bd5c2cea 100644
--- a/svx/source/items/numfmtsh.cxx
+++ b/svx/source/items/numfmtsh.cxx
@@ -1840,13 +1840,12 @@ sal_Bool SvxNumberFormatShell::IsInTable(sal_uInt16 nPos,sal_Bool bTmpBanking,co
if(nPos<nCount)
{
NfWSStringsDtor aWSStringsDtor;
- sal_uInt16 nDefault;
const NfCurrencyEntry* pTmpCurrencyEntry=rCurrencyTable[nPos];
if ( pTmpCurrencyEntry!=NULL)
{
- nDefault = pFormatter->GetCurrencyFormatStrings( aWSStringsDtor,
+ pFormatter->GetCurrencyFormatStrings( aWSStringsDtor,
*pTmpCurrencyEntry, bTmpBanking );
for(sal_uInt16 i=0;i<aWSStringsDtor.Count();i++)