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/inc/ndtxt.hxx | |
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/inc/ndtxt.hxx')
-rw-r--r-- | sw/inc/ndtxt.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/inc/ndtxt.hxx b/sw/inc/ndtxt.hxx index 7b37dc152687..7786c6ee8fe4 100644 --- a/sw/inc/ndtxt.hxx +++ b/sw/inc/ndtxt.hxx @@ -838,7 +838,7 @@ inline void SwTextNode::TryDeleteSwpHints() inline SwTextFormatColl* SwTextNode::GetTextColl() const { - return static_cast<SwTextFormatColl*>(const_cast<SwModify*>(GetRegisteredIn())); + return const_cast<SwTextFormatColl*>(static_cast<const SwTextFormatColl*>(GetRegisteredIn())); } /// Inline methods from Node.hxx |