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

New commits:
commit f74a502670dc7b4cba3100df58ed0d07b6906c67
Author:     Aron Budea <aron.bu...@collabora.com>
AuthorDate: Tue Mar 12 18:20:24 2024 +1030
Commit:     Aron Budea <aron.bu...@collabora.com>
CommitDate: Mon Apr 1 02:18:18 2024 +0200

    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>
    (cherry picked from commit ee979fc26c6509e077be0b746d907d6e13619954)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165586

diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx
index 323d0751cb6d..a81b0410d81e 100644
--- a/desktop/source/lib/init.cxx
+++ b/desktop/source/lib/init.cxx
@@ -3755,6 +3755,8 @@ static void doc_iniUnoCommands ()
         OUString(".uno:ParaspaceDecrease"),
         OUString(".uno:AcceptTrackedChange"),
         OUString(".uno:RejectTrackedChange"),
+        OUString(".uno:AcceptTrackedChangeToNext"),
+        OUString(".uno:RejectTrackedChangeToNext"),
         OUString(".uno:ShowResolvedAnnotations"),
         OUString(".uno:InsertBreak"),
         OUString(".uno:InsertEndnote"),
diff --git a/sfx2/source/control/unoctitm.cxx b/sfx2/source/control/unoctitm.cxx
index 10d2230007db..0e3a092cd8b3 100644
--- a/sfx2/source/control/unoctitm.cxx
+++ b/sfx2/source/control/unoctitm.cxx
@@ -1037,6 +1037,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