From 2db44bd017daac8f668393bca24911e95125857a Mon Sep 17 00:00:00 2001 From: Henry Castro Date: Sat, 4 Nov 2017 12:18:53 -0400 Subject: sw lok: add Accept/Reject All tracked changes, tdf#101977 Change-Id: I04d747343e24cb498a621c965d034d0791411d83 Reviewed-on: https://gerrit.libreoffice.org/44311 Tested-by: Jenkins Reviewed-by: Henry Castro --- sfx2/source/control/unoctitm.cxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'sfx2') diff --git a/sfx2/source/control/unoctitm.cxx b/sfx2/source/control/unoctitm.cxx index 2db72d42d829..2dcbb0b7113c 100644 --- a/sfx2/source/control/unoctitm.cxx +++ b/sfx2/source/control/unoctitm.cxx @@ -1074,7 +1074,10 @@ static void InterceptLOKStateChangeEvent(const SfxViewFrame* pViewFrame, const c aEvent.FeatureURL.Path == "EntireColumn" || aEvent.FeatureURL.Path == "EntireCell" || aEvent.FeatureURL.Path == "SortAscending" || - aEvent.FeatureURL.Path == "SortDescending") + aEvent.FeatureURL.Path == "SortDescending" || + aEvent.FeatureURL.Path == "AcceptAllTrackedChanges" || + aEvent.FeatureURL.Path == "RejectAllTrackedChanges") + { aBuffer.append(aEvent.IsEnabled ? OUString("enabled") : OUString("disabled")); } -- cgit