diff options
author | Bjoern Michaelsen <bjoern.michaelsen@libreoffice.org> | 2020-11-05 00:55:00 +0100 |
---|---|---|
committer | Bjoern Michaelsen <bjoern.michaelsen@libreoffice.org> | 2020-11-05 14:10:32 +0100 |
commit | c44fa10aa2a04945196622c73272c775374be486 (patch) | |
tree | 0935924be251a34392b04818aef59673a5a0bf82 /sw/source/core/layout/tabfrm.cxx | |
parent | c967a7f0130d804a73fa7073c4a1703fcd51bd75 (diff) |
retire most of SwModify
only remaining uses are:
- in calbck.{c,h}xx
- in uwriter unittests
- as a parameter of SwClientNotify
all other uses have been replaced with sw::BroadcastingModify, which
contains sw::BroadcastingMixin functionality. Existing code should then
be moved to sw::BroadcastingMixin (only) as soon as possible.
Change-Id: Ief7895597633c2fcb97e1cbc182905d75feb1567
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105320
Tested-by: Jenkins
Reviewed-by: Bjoern Michaelsen <bjoern.michaelsen@libreoffice.org>
Diffstat (limited to 'sw/source/core/layout/tabfrm.cxx')
-rw-r--r-- | sw/source/core/layout/tabfrm.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/core/layout/tabfrm.cxx b/sw/source/core/layout/tabfrm.cxx index b3c36051b661..adf3e5478176 100644 --- a/sw/source/core/layout/tabfrm.cxx +++ b/sw/source/core/layout/tabfrm.cxx @@ -1489,7 +1489,7 @@ bool SwContentFrame::CalcLowers(SwLayoutFrame & rLay, SwLayoutFrame const& rDont // FME 2007-08-30 #i81146# new loop control int nLoopControlRuns = 0; const int nLoopControlMax = 10; - const SwModify* pLoopControlCond = nullptr; + const sw::BroadcastingModify* pLoopControlCond = nullptr; while (pCnt && rDontLeave.IsAnLower(pCnt)) { @@ -3799,7 +3799,7 @@ SwRowFrame::SwRowFrame(const SwTableLine &rLine, SwFrame* pSib, bool bInsertCont void SwRowFrame::DestroyImpl() { - SwModify* pMod = GetFormat(); + sw::BroadcastingModify* pMod = GetFormat(); if( pMod ) { pMod->Remove( this ); @@ -4784,7 +4784,7 @@ SwCellFrame::SwCellFrame(const SwTableBox &rBox, SwFrame* pSib, bool bInsertCont void SwCellFrame::DestroyImpl() { - SwModify* pMod = GetFormat(); + sw::BroadcastingModify* pMod = GetFormat(); if( pMod ) { // At this stage the lower frames aren't destroyed already, |