summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-03-06 16:42:24 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-03-07 10:22:16 +0000
commit215207f480258b37864a88e1b831055e148adf65 (patch)
tree1e32afed1782c47427c7e3fc917e597d08815bfd /cui
parent0b4abd40a2005024db96092e66e798c851720e6a (diff)
coverity#708784 Unused pointer value
as far as I can see the whole block is useless Change-Id: I26f2a033090e2e855a344a038246142995fb5727
Diffstat (limited to 'cui')
-rw-r--r--cui/source/options/optlingu.cxx13
1 files changed, 0 insertions, 13 deletions
diff --git a/cui/source/options/optlingu.cxx b/cui/source/options/optlingu.cxx
index e9af92199590..93395eee1fec 100644
--- a/cui/source/options/optlingu.cxx
+++ b/cui/source/options/optlingu.cxx
@@ -1150,21 +1150,8 @@ SvxLinguTabPage::SvxLinguTabPage( Window* pParent, const SfxItemSet& rSet ) :
m_pLinguDicsEditPB->Disable();
m_pLinguDicsDelPB->Disable();
}
-
- const SfxSpellCheckItem* pItem = 0;
-
- SfxItemState eItemState = rSet.GetItemState( GetWhich( SID_ATTR_SPELL ),
- false, (const SfxPoolItem**)&pItem );
-
- // is it about a default-item?
- if ( eItemState == SFX_ITEM_DEFAULT )
- pItem = (const SfxSpellCheckItem*)&(rSet.Get( GetWhich( SID_ATTR_SPELL ) ) );
- else if ( eItemState == SFX_ITEM_DONTCARE )
- pItem = NULL;
}
-
-
SvxLinguTabPage::~SvxLinguTabPage()
{
if (pLinguData)