summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPranav Kant <pranavk@collabora.co.uk>2017-03-01 15:20:53 +0530
committerPranav Kant <pranavk@collabora.co.uk>2017-03-03 16:45:00 +0530
commit67dad2676dbbe1557f51a4fb16975499c16829f5 (patch)
treec873b5e971611f6eebe6eb83b9ad3e801e230a4a
parentremove unused CreateDefault methods (diff)
downloadcore-67dad2676dbbe1557f51a4fb16975499c16829f5.tar.gz
core-67dad2676dbbe1557f51a4fb16975499c16829f5.zip
lok: Listen to change tracking related commands
Change-Id: Ieafd31342b356d7e95e4321cc49580b57f32e5be
-rw-r--r--desktop/source/lib/init.cxx4
-rw-r--r--sfx2/source/control/unoctitm.cxx4
2 files changed, 6 insertions, 2 deletions
diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx
index 89659fa7bcc4..c06891577b96 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 2191cd807392..f82460af8160 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")