[Libreoffice-commits] core.git: desktop/source sfx2/source
Pranav Kant
pranavk at collabora.co.uk
Fri Mar 3 11:15:56 UTC 2017
desktop/source/lib/init.cxx | 4 +++-
sfx2/source/control/unoctitm.cxx | 4 +++-
2 files changed, 6 insertions(+), 2 deletions(-)
New commits:
commit 67dad2676dbbe1557f51a4fb16975499c16829f5
Author: Pranav Kant <pranavk at collabora.co.uk>
Date: Wed Mar 1 15:20:53 2017 +0530
lok: Listen to change tracking related commands
Change-Id: Ieafd31342b356d7e95e4321cc49580b57f32e5be
diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx
index 89659fa..c068915 100644
--- a/desktop/source/lib/init.cxx
+++ b/desktop/source/lib/init.cxx
@@ -1518,7 +1518,9 @@ static void doc_iniUnoCommands ()
OUString(".uno:SortAscending"),
OUString(".uno:SortDescending"),
OUString(".uno:TrackChanges"),
- OUString(".uno:AcceptTrackedChange"),
+ OUString(".uno:ShowTrackedChanges"),
+ OUString(".uno:NextTrackedChange"),
+ OUString(".uno:PreviousTrackedChange")
};
util::URL aCommandURL;
diff --git a/sfx2/source/control/unoctitm.cxx b/sfx2/source/control/unoctitm.cxx
index 2191cd8..f82460a 100644
--- a/sfx2/source/control/unoctitm.cxx
+++ b/sfx2/source/control/unoctitm.cxx
@@ -996,7 +996,9 @@ static void InterceptLOKStateChangeEvent(const SfxViewFrame* pViewFrame, const c
aEvent.FeatureURL.Path == "Underline" ||
aEvent.FeatureURL.Path == "ModifiedStatus" ||
aEvent.FeatureURL.Path == "TrackChanges" ||
- aEvent.FeatureURL.Path == "AcceptTrackedChange" ||
+ aEvent.FeatureURL.Path == "ShowTrackedChanges" ||
+ aEvent.FeatureURL.Path == "NextTrackedChange" ||
+ aEvent.FeatureURL.Path == "PreviousTrackedChange" ||
aEvent.FeatureURL.Path == "AlignLeft" ||
aEvent.FeatureURL.Path == "AlignHorizontalCenter" ||
aEvent.FeatureURL.Path == "AlignRight")
More information about the Libreoffice-commits
mailing list