desktop/source/lib/init.cxx      |    2 ++
 sfx2/source/control/unoctitm.cxx |    2 ++
 2 files changed, 4 insertions(+)

New commits:
commit ee979fc26c6509e077be0b746d907d6e13619954
Author:     Aron Budea <aron.bu...@collabora.com>
AuthorDate: Tue Mar 12 18:20:24 2024 +1030
Commit:     Aron Budea <aron.bu...@collabora.com>
CommitDate: Tue Mar 12 13:41:34 2024 +0100

    lok: Send Accept / RejectTrackedChangedToNext state change
    
    Change-Id: I194c0c3260fe90273f5b5f50c18a63e48ae85449
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/164699
    Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com>
    Reviewed-by: Aron Budea <aron.bu...@collabora.com>

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" ||

Reply via email to