diff options
-rw-r--r-- | sw/source/core/layout/tabfrm.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sw/source/core/layout/tabfrm.cxx b/sw/source/core/layout/tabfrm.cxx index 033f692f47cc..71f677d613f5 100644 --- a/sw/source/core/layout/tabfrm.cxx +++ b/sw/source/core/layout/tabfrm.cxx @@ -6045,7 +6045,9 @@ void SwCellFrame::SwClientNotify(const SwModify& rMod, const SfxHint& rHint) { auto pLegacy = static_cast<const sw::LegacyModifyHint*>(&rHint); const SfxPoolItem* pVertOrientItem = nullptr; +#if !ENABLE_WASM_STRIP_ACCESSIBILITY const SfxPoolItem* pProtectItem = nullptr; +#endif const SfxPoolItem* pFrameDirItem = nullptr; const SfxPoolItem* pBoxItem = nullptr; const auto nWhich = pLegacy->m_pNew ? pLegacy->m_pNew->Which() : 0; @@ -6055,7 +6057,9 @@ void SwCellFrame::SwClientNotify(const SwModify& rMod, const SfxHint& rHint) { auto& rChgSet = *static_cast<const SwAttrSetChg*>(pLegacy->m_pNew)->GetChgSet(); pVertOrientItem = rChgSet.GetItemIfSet(RES_VERT_ORIENT, false); +#if !ENABLE_WASM_STRIP_ACCESSIBILITY pProtectItem = rChgSet.GetItemIfSet(RES_PROTECT, false); +#endif pFrameDirItem = rChgSet.GetItemIfSet(RES_FRAMEDIR, false); pBoxItem = rChgSet.GetItemIfSet(RES_BOX, false); break; @@ -6064,7 +6068,9 @@ void SwCellFrame::SwClientNotify(const SwModify& rMod, const SfxHint& rHint) pVertOrientItem = pLegacy->m_pNew; break; case RES_PROTECT: +#if !ENABLE_WASM_STRIP_ACCESSIBILITY pProtectItem = pLegacy->m_pNew; +#endif break; case RES_FRAMEDIR: pFrameDirItem = pLegacy->m_pNew; |