sfx2/source/control/dispatch.cxx | 1 +
1 file changed, 1 insertion(+)
New commits:
commit e748726e3cb7bd311d4c0808963d6847295385ea
Author: Jaume Pujantell <[email protected]>
AuthorDate: Thu Jan 30 12:11:39 2025 +0100
Commit: Jaume Pujantell <[email protected]>
CommitDate: Mon Feb 3 11:13:03 2025 +0100
lok: allow save on comment only mode
Allow execution of .uno:Save command on comment only mode for all types
of files, not only pdf.
Change-Id: I35387d93d00d709d209d3ed1ba2d315bd20b67d5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/180940
Tested-by: Jenkins CollaboraOffice <[email protected]>
Reviewed-by: Miklos Vajna <[email protected]>
(cherry picked from commit adcfa0902b8641a50b11c9fb528bb971993d5f12)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/181026
Reviewed-by: Jaume Pujantell <[email protected]>
Tested-by: Jenkins
diff --git a/sfx2/source/control/dispatch.cxx b/sfx2/source/control/dispatch.cxx
index cb0f26e3c4b6..1959b5e81efa 100644
--- a/sfx2/source/control/dispatch.cxx
+++ b/sfx2/source/control/dispatch.cxx
@@ -1543,6 +1543,7 @@ bool SfxDispatcher::IsCommandAllowedInLokReadOnlyViewMode
(const OUString & comm
u".uno:DeleteAnnotation"_ustr,
u".uno:EditAnnotation"_ustr,
u".uno:PromoteComment"_ustr,
+ u".uno:Save"_ustr,
};
if (std::find(std::begin(allowedList), std::end(allowedList), commandName)
!= std::end(allowedList))