summaryrefslogtreecommitdiff
path: root/sw/source/core/inc/frame.hxx
diff options
context:
space:
mode:
authorBjoern Michaelsen <bjoern.michaelsen@libreoffice.org>2020-11-05 00:55:00 +0100
committerBjoern Michaelsen <bjoern.michaelsen@libreoffice.org>2020-11-05 14:10:32 +0100
commitc44fa10aa2a04945196622c73272c775374be486 (patch)
tree0935924be251a34392b04818aef59673a5a0bf82 /sw/source/core/inc/frame.hxx
parentc967a7f0130d804a73fa7073c4a1703fcd51bd75 (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/inc/frame.hxx')
-rw-r--r--sw/source/core/inc/frame.hxx8
1 files changed, 5 insertions, 3 deletions
diff --git a/sw/source/core/inc/frame.hxx b/sw/source/core/inc/frame.hxx
index 1c099696c504..2a053eacd94f 100644
--- a/sw/source/core/inc/frame.hxx
+++ b/sw/source/core/inc/frame.hxx
@@ -457,10 +457,12 @@ protected:
/// use these so we can grep for SwFrame's GetRegisteredIn accesses
/// beware that SwTextFrame may return sw::WriterMultiListener
- SwModify *GetDep() { return GetRegisteredInNonConst(); }
- const SwModify *GetDep() const { return GetRegisteredIn(); }
+ sw::BroadcastingModify* GetDep()
+ { return static_cast<sw::BroadcastingModify*>(GetRegisteredInNonConst()); }
+ const sw::BroadcastingModify* GetDep() const
+ { return static_cast<const sw::BroadcastingModify*>(GetRegisteredIn()); }
- SwFrame( SwModify*, SwFrame* );
+ SwFrame( sw::BroadcastingModify*, SwFrame* );
void CheckDir( SvxFrameDirection nDir, bool bVert, bool bOnlyBiDi, bool bBrowse );