Kaydet (Commit) 215207f4 authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#708784 Unused pointer value

as far as I can see the whole block is useless

Change-Id: I26f2a033090e2e855a344a038246142995fb5727
üst 0b4abd40
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment