summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAron Budea <aron.budea@collabora.com>2024-03-12 18:20:24 +1030
committerAron Budea <aron.budea@collabora.com>2024-03-12 13:41:34 +0100
commitee979fc26c6509e077be0b746d907d6e13619954 (patch)
tree99aff5038334b6ad3b661e7318e1591832869de6
parentc471d021b91331241a7630cca098f1347deda1bb (diff)
lok: Send Accept / RejectTrackedChangedToNext state change
Change-Id: I194c0c3260fe90273f5b5f50c18a63e48ae85449 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/164699 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Aron Budea <aron.budea@collabora.com>
-rw-r--r--desktop/source/lib/init.cxx2
-rw-r--r--sfx2/source/control/unoctitm.cxx2
2 files changed, 4 insertions, 0 deletions
diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx
index 739ba2a42021..264d0515cf0e 100644
--- a/desktop/source/lib/init.cxx
+++ b/desktop/source/lib/init.cxx
@@ -3790,6 +3790,8 @@ static void doc_iniUnoCommands ()
u".uno:ParaspaceDecrease"_ustr,
u".uno:AcceptTrackedChange"_ustr,
u".uno:RejectTrackedChange"_ustr,
+ u".uno:AcceptTrackedChangeToNext"_ustr,
+ u".uno:RejectTrackedChangeToNext"_ustr,
u".uno:ShowResolvedAnnotations"_ustr,
u".uno:InsertBreak"_ustr,
u".uno:InsertEndnote"_ustr,
diff --git a/sfx2/source/control/unoctitm.cxx b/sfx2/source/control/unoctitm.cxx
index 9b588293082b..fade31109f35 100644
--- a/sfx2/source/control/unoctitm.cxx
+++ b/sfx2/source/control/unoctitm.cxx
@@ -1073,6 +1073,8 @@ static void InterceptLOKStateChangeEvent(sal_uInt16 nSID, SfxViewFrame* pViewFra
aEvent.FeatureURL.Path == "RejectAllTrackedChanges" ||
aEvent.FeatureURL.Path == "AcceptTrackedChange" ||
aEvent.FeatureURL.Path == "RejectTrackedChange" ||
+ aEvent.FeatureURL.Path == "AcceptTrackedChangeToNext" ||
+ aEvent.FeatureURL.Path == "RejectTrackedChangeToNext" ||
aEvent.FeatureURL.Path == "NextTrackedChange" ||
aEvent.FeatureURL.Path == "PreviousTrackedChange" ||
aEvent.FeatureURL.Path == "FormatGroup" ||