summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2011-03-30 06:18:21 +0200
committerDavid Tardon <dtardon@redhat.com>2011-03-30 06:23:11 +0200
commit2b9726405495529d64e7ab8537ea30119f607d1e (patch)
treed07df70c58485774846dcace86e327ddbd0b0d48
parentcdaab423b4ac3a6ea373fd54bcb3bf9cefb26475 (diff)
WaE: unused variable
-rw-r--r--sw/source/core/table/swtable.cxx8
1 files changed, 1 insertions, 7 deletions
diff --git a/sw/source/core/table/swtable.cxx b/sw/source/core/table/swtable.cxx
index b96c63aa7b..0c9e3ddb7a 100644
--- a/sw/source/core/table/swtable.cxx
+++ b/sw/source/core/table/swtable.cxx
@@ -2257,7 +2257,6 @@ void SwTableBoxFmt::Modify( const SfxPoolItem* pOld, const SfxPoolItem* pNew )
const SwTblBoxNumFormat *pNewFmt = 0;
const SwTblBoxFormula *pNewFml = 0;
const SwTblBoxValue *pNewVal = 0;
- double aOldValue = 0;
sal_uLong nOldFmt = NUMBERFORMAT_TEXT;
switch( pNew ? pNew->Which() : 0 )
@@ -2271,10 +2270,6 @@ void SwTableBoxFmt::Modify( const SfxPoolItem* pOld, const SfxPoolItem* pNew )
GetChgSet()->Get( RES_BOXATR_FORMAT )).GetValue();
rSet.GetItemState( RES_BOXATR_FORMULA, sal_False,
(const SfxPoolItem**)&pNewFml );
- if( SFX_ITEM_SET == rSet.GetItemState( RES_BOXATR_VALUE,
- sal_False, (const SfxPoolItem**)&pNewVal ) )
- aOldValue = ((SwTblBoxValue&)((SwAttrSetChg*)pOld)->
- GetChgSet()->Get( RES_BOXATR_VALUE )).GetValue();
}
break;
@@ -2287,7 +2282,6 @@ void SwTableBoxFmt::Modify( const SfxPoolItem* pOld, const SfxPoolItem* pNew )
break;
case RES_BOXATR_VALUE:
pNewVal = (SwTblBoxValue*)pNew;
- aOldValue = ((SwTblBoxValue*)pOld)->GetValue();
break;
}
@@ -2827,4 +2821,4 @@ void SwTableBox::ForgetFrmFmt()
}
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ \ No newline at end of file
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */