Kaydet (Commit) 604cab6c authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#705794 Dereference before null check

Change-Id: I63735efaecfad348e04a55a41c5c446cb88db067
üst 50d20866
...@@ -615,7 +615,7 @@ void SvxNumPickTabPage::ActivatePage(const SfxItemSet& rSet) ...@@ -615,7 +615,7 @@ void SvxNumPickTabPage::ActivatePage(const SfxItemSet& rSet)
delete pSaveNum; delete pSaveNum;
pSaveNum = new SvxNumRule(*((SvxNumBulletItem*)pItem)->GetNumRule()); pSaveNum = new SvxNumRule(*((SvxNumBulletItem*)pItem)->GetNumRule());
} }
if(*pSaveNum != *pActNum) if(pActNum && *pSaveNum != *pActNum)
{ {
*pActNum = *pSaveNum; *pActNum = *pSaveNum;
m_pExamplesVS->SetNoSelection(); m_pExamplesVS->SetNoSelection();
......
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