summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2013-02-08 23:06:24 +0100
committerJulien Nabet <serval2412@yahoo.fr>2013-02-08 23:06:24 +0100
commit8ee14c31a4dd89640b4f9573ae13e101727649c8 (patch)
tree3a70111cd3318f3dc22fb6212d5141fba79eff11
parent8c27bd9b14715c05d66eaa5e0ef10a6c926c8c1f (diff)
Fix "eState" reassigned before previous value used
Change-Id: I2ca1ebdd726b0f07d796d883f3340213780c7b79
-rw-r--r--cui/source/tabpages/numfmt.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/cui/source/tabpages/numfmt.cxx b/cui/source/tabpages/numfmt.cxx
index 9b217496f6ff..8f97f013b3a6 100644
--- a/cui/source/tabpages/numfmt.cxx
+++ b/cui/source/tabpages/numfmt.cxx
@@ -386,10 +386,8 @@ void SvxNumberFormatTabPage::Reset( const SfxItemSet& rSet )
SvxNumberValueType eValType = SVX_VALUE_TYPE_UNDEFINED;
double nValDouble = 0;
String aValString;
- SfxItemState eState = SFX_ITEM_DONTCARE;
-
- eState = rSet.GetItemState( GetWhich( SID_ATTR_NUMBERFORMAT_NOLANGUAGE ),sal_True,&pItem);
+ SfxItemState eState = rSet.GetItemState( GetWhich( SID_ATTR_NUMBERFORMAT_NOLANGUAGE ),sal_True,&pItem);
if(eState==SFX_ITEM_SET)
{