diff options
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/layout/flyincnt.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/layout/flyincnt.cxx b/sw/source/core/layout/flyincnt.cxx index be7b5722a593..69417d7f07ee 100644 --- a/sw/source/core/layout/flyincnt.cxx +++ b/sw/source/core/layout/flyincnt.cxx @@ -118,7 +118,7 @@ void SwFlyInContentFrame::SwClientNotify(const SwModify&, const SfxHint& rHint) aTweakedChgs.first->ClearItem(RES_FRMMACRO); aSuperArgs = std::pair<const SfxPoolItem*, const SfxPoolItem*>(aTweakedChgs.first.get(), aTweakedChgs.second.get()); } - } else if(pNewAttrSetChg->GetChgSet()->Count()) + } else if (pNewAttrSetChg && pNewAttrSetChg->GetChgSet()->Count()) aSuperArgs = std::pair<const SfxPoolItem*, const SfxPoolItem*>(pLegacy->m_pOld, pLegacy->m_pNew); break; } |