diff options
author | Pranam Lashkari <lpranam@collabora.com> | 2024-09-16 21:02:22 +0300 |
---|---|---|
committer | Pranam Lashkari <lpranam@collabora.com> | 2024-11-19 10:47:47 +0100 |
commit | 69817b8a8c088e840c958ad1c0b6fdde6e155698 (patch) | |
tree | eb174e08d94a15eaa3a1859950d265d44e2fc71b | |
parent | c8b607b7c0096c58dc5187262bf0133dee728d50 (diff) |
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 <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
(cherry picked from commit 3fa8df9e7f46fd7bf988ca96b0454e5c1ee0a153)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176749
Reviewed-by: Pranam Lashkari <lpranam@collabora.com>
Tested-by: Jenkins
-rw-r--r-- | desktop/source/lib/init.cxx | 1 | ||||
-rw-r--r-- | sfx2/source/control/unoctitm.cxx | 1 |
2 files changed, 2 insertions, 0 deletions
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 }, |