From 288013f25d2e52a76f7ce5368c505a6ccb3b64a2 Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Mon, 19 Sep 2016 17:56:35 +0200 Subject: sw: emit LOK_CALLBACK_STATE_CHANGED when cursor enters/leaves a redline For now only care about the start of the cursor, which can be only at a single redline. Add matching testcase + expose it in the gtktiledviewer status bar for interactive manual testing. Change-Id: Ib61757412d6b54bef64361d4a8563795ca0bab6c --- sfx2/source/control/unoctitm.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sfx2') diff --git a/sfx2/source/control/unoctitm.cxx b/sfx2/source/control/unoctitm.cxx index 9c3ed15f5dd4..49d9c40a1858 100644 --- a/sfx2/source/control/unoctitm.cxx +++ b/sfx2/source/control/unoctitm.cxx @@ -971,7 +971,8 @@ static void InterceptLOKStateChangeEvent(const SfxViewFrame* pViewFrame, const c aEvent.FeatureURL.Path == "Strikeout" || aEvent.FeatureURL.Path == "Underline" || aEvent.FeatureURL.Path == "ModifiedStatus" || - aEvent.FeatureURL.Path == "TrackChanges") + aEvent.FeatureURL.Path == "TrackChanges" || + aEvent.FeatureURL.Path == "AcceptTrackedChange") { bool bTemp = false; aEvent.State >>= bTemp; -- cgit v1.2.3