diff options
author | Michael Stahl <Michael.Stahl@cib.de> | 2018-06-05 13:41:58 +0200 |
---|---|---|
committer | Thorsten Behrens <Thorsten.Behrens@CIB.de> | 2018-06-14 16:19:08 +0200 |
commit | 6d79a08dec2be3d35bdd42aa0ee62cea01193493 (patch) | |
tree | 7984c8f5d7bf17deb8c8055bf962c04f81352bd3 /sw/inc | |
parent | cb6f2e535714082444a94cfcce4137517a2f9226 (diff) |
sw_redlinehide: send a hint to the SwTextFrame when Delete redline
... is created or updated; there is already a SwUpdateAttr
hint being sent from SwRangeRedline::InvalidateRange(),
but it doesn't contain any info about the redline other than the
position; add a new hint sw::RedlineDelText and send it from there in
addition to the existing one.
Change-Id: I37150b2a5ca6a0e70ea4a5788f720f8522227631
Diffstat (limited to 'sw/inc')
-rw-r--r-- | sw/inc/hints.hxx | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/sw/inc/hints.hxx b/sw/inc/hints.hxx index 4da6408dfe99..dc31d7424756 100644 --- a/sw/inc/hints.hxx +++ b/sw/inc/hints.hxx @@ -93,6 +93,19 @@ public: SwDelText( sal_Int32 nS, sal_Int32 nL ); }; +namespace sw { + +class RedlineDelText : public SfxHint +{ +public: + sal_Int32 nStart; + sal_Int32 nLen; + + RedlineDelText(sal_Int32 nS, sal_Int32 nL); +}; + +} + class SwUpdateAttr : public SwMsgPoolItem { private: |