summaryrefslogtreecommitdiff
path: root/sw/inc/hints.hxx
diff options
context:
space:
mode:
authorMichael Stahl <Michael.Stahl@cib.de>2018-08-17 17:52:52 +0200
committerMichael Stahl <Michael.Stahl@cib.de>2018-09-19 10:18:27 +0200
commit4faf5ce05cfbbdc8df4c55135ac70d7c35527109 (patch)
treeab257d5f8c94368b382543ed262923a3cc33f5db /sw/inc/hints.hxx
parentf8cde353240758ce1b40302d56c2373e99bb8a55 (diff)
sw_redlinehide_2: invalidate when delete redline goes away
Add another new hint sw::RedlineUnDelText; the main use case is to send it from DocumentRedlineManager::DeleteRedline() so the view is updated accordingly. Change-Id: Ia490116588dc8d3c695ec83c0c2ce8497736f76e
Diffstat (limited to 'sw/inc/hints.hxx')
-rw-r--r--sw/inc/hints.hxx11
1 files changed, 11 insertions, 0 deletions
diff --git a/sw/inc/hints.hxx b/sw/inc/hints.hxx
index dc31d7424756..bee0ebb1c21a 100644
--- a/sw/inc/hints.hxx
+++ b/sw/inc/hints.hxx
@@ -95,6 +95,7 @@ public:
namespace sw {
+/// new delete redline is created
class RedlineDelText : public SfxHint
{
public:
@@ -104,6 +105,16 @@ public:
RedlineDelText(sal_Int32 nS, sal_Int32 nL);
};
+/// delete redline is removed
+class RedlineUnDelText : public SfxHint
+{
+public:
+ sal_Int32 nStart;
+ sal_Int32 nLen;
+
+ RedlineUnDelText(sal_Int32 nS, sal_Int32 nL);
+};
+
}
class SwUpdateAttr : public SwMsgPoolItem