From 226e2263468da403d1f9db504115830f5a030229 Mon Sep 17 00:00:00 2001 From: Gökay Şatır Date: Tue, 26 Mar 2024 18:41:34 +0300 Subject: Enable allowing comment editing in readOnly view mode. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Gökay Şatır Change-Id: I536448da395568cd43af6f4d1d36ef09f3c6a6b3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165349 Tested-by: Jenkins CollaboraOffice Reviewed-by: Gökay ŞATIR --- include/sfx2/dispatch.hxx | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/sfx2/dispatch.hxx b/include/sfx2/dispatch.hxx index 7216fc92badc..fee0082fb36b 100644 --- a/include/sfx2/dispatch.hxx +++ b/include/sfx2/dispatch.hxx @@ -89,6 +89,7 @@ friend class SfxHelp; bool FindServer_( sal_uInt16 nId, SfxSlotServer &rServer ); + static bool IsCommandAllowedInLokReadOnlyViewMode (OUString commandName); bool FillState_( const SfxSlotServer &rServer, SfxItemSet &rState, const SfxSlot *pRealSlot ); void Execute_( SfxShell &rShell, const SfxSlot &rSlot, -- cgit