From d890ec2f130188af9d998abf5968f06e7218b7a4 Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Fri, 19 Aug 2016 09:58:33 +0200 Subject: tdf#101592 sw: track changes state is doc-specific, not view-specific So update the bindings of all views after changing it. Change-Id: I5355f40ba27be521dcdf343b08305f3736979bbb Reviewed-on: https://gerrit.libreoffice.org/28233 Reviewed-by: Miklos Vajna Tested-by: Jenkins --- 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 14c28ce384d1..c7d4a88ea236 100644 --- a/sfx2/source/control/unoctitm.cxx +++ b/sfx2/source/control/unoctitm.cxx @@ -970,7 +970,8 @@ static void InterceptLOKStateChangeEvent(const SfxViewFrame* pViewFrame, const c aEvent.FeatureURL.Path == "SuperScript" || aEvent.FeatureURL.Path == "Strikeout" || aEvent.FeatureURL.Path == "Underline" || - aEvent.FeatureURL.Path == "ModifiedStatus") + aEvent.FeatureURL.Path == "ModifiedStatus" || + aEvent.FeatureURL.Path == "TrackChanges") { bool bTemp = false; aEvent.State >>= bTemp; -- cgit