diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-09-19 17:56:35 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-09-19 20:10:22 +0200 |
commit | 288013f25d2e52a76f7ce5368c505a6ccb3b64a2 (patch) | |
tree | 7f2ebea4554cd171b22577c38b8105df08191739 /sfx2 | |
parent | aa51bf1e17dfb4a0a95a24e7de7f55d2b44b9472 (diff) |
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
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/control/unoctitm.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
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; |