diff options
author | Henry Castro <hcastro@collabora.com> | 2017-11-04 12:18:53 -0400 |
---|---|---|
committer | Henry Castro <hcastro@collabora.com> | 2017-11-08 04:28:01 +0100 |
commit | 2db44bd017daac8f668393bca24911e95125857a (patch) | |
tree | d2ee78fee77c5c5475d2aba9142c669ab91ed0cb /sfx2 | |
parent | a6ee721868f444049bf9af59e2cf43ae10502fa8 (diff) |
sw lok: add Accept/Reject All tracked changes, tdf#101977
Change-Id: I04d747343e24cb498a621c965d034d0791411d83
Reviewed-on: https://gerrit.libreoffice.org/44311
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Henry Castro <hcastro@collabora.com>
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/control/unoctitm.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
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")); } |