summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGökay Şatır <gokaysatir@gmail.com>2024-03-26 18:41:34 +0300
committerGökay ŞATIR <gokaysatir@collabora.com>2024-03-27 10:39:09 +0100
commit226e2263468da403d1f9db504115830f5a030229 (patch)
treed87e9c28eee014bcac4afb8e7ef0ba5006395d1d /include
parent80404237d604597b1b48720d0598e4db06d2df09 (diff)
Enable allowing comment editing in readOnly view mode.
Signed-off-by: Gökay Şatır <gokaysatir@gmail.com> Change-Id: I536448da395568cd43af6f4d1d36ef09f3c6a6b3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165349 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Gökay ŞATIR <gokaysatir@collabora.com>
Diffstat (limited to 'include')
-rw-r--r--include/sfx2/dispatch.hxx1
1 files changed, 1 insertions, 0 deletions
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,