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

New commits:
commit 69817b8a8c088e840c958ad1c0b6fdde6e155698
Author:     Pranam Lashkari <[email protected]>
AuthorDate: Mon Sep 16 21:02:22 2024 +0300
Commit:     Pranam Lashkari <[email protected]>
CommitDate: Tue Nov 19 10:47:47 2024 +0100

    LOK: send state of EditDoc for write protection status
    
    Change-Id: I58eb4ab04b4063e382bc6550b5cf08d7806a6c6a
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/173470
    Tested-by: Jenkins CollaboraOffice <[email protected]>
    Reviewed-by: Caolán McNamara <[email protected]>
    (cherry picked from commit 3fa8df9e7f46fd7bf988ca96b0454e5c1ee0a153)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176749
    Reviewed-by: Pranam Lashkari <[email protected]>
    Tested-by: Jenkins

diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx
index f17f1484b63d..7de039d56e58 100644
--- a/desktop/source/lib/init.cxx
+++ b/desktop/source/lib/init.cxx
@@ -4043,6 +4043,7 @@ static void doc_iniUnoCommands ()
         u".uno:DistributeVertTop"_ustr,
         u".uno:AnimationEffects"_ustr,
         u".uno:ExecuteAnimationEffect"_ustr,
+        u".uno:EditDoc"_ustr,
     };
 
     util::URL aCommandURL;
diff --git a/sfx2/source/control/unoctitm.cxx b/sfx2/source/control/unoctitm.cxx
index 6fd2196f583a..fb39d340ebb5 100644
--- a/sfx2/source/control/unoctitm.cxx
+++ b/sfx2/source/control/unoctitm.cxx
@@ -1192,6 +1192,7 @@ constexpr auto handlers = 
frozen::make_unordered_map<std::u16string_view, Payloa
     { u"NormalMultiPaneGUI", IsActivePayload },
     { u"NotesMode", IsActivePayload },
     { u"SlideMasterPage", IsActivePayload },
+    { u"EditDoc", IsActivePayload },
 
     { u"CharFontName", FontNamePayload },
 

Reply via email to