Don't disable "Send doc via email" when LockExport is set
Only sending as other formats should be disabled in this case Change-Id: I985d43ba314a1bda16dab33897d212ad27d3d115 Reviewed-on: https://gerrit.libreoffice.org/84240 Tested-by: Jenkins Reviewed-by: Serge Krot (CIB) <Serge.Krot@cib.de>
This commit is contained in:
parent
5073c6d8d7
commit
b9930d0d05
1 changed files with 1 additions and 1 deletions
|
@ -686,7 +686,7 @@ void SfxViewShell::GetState_Impl( SfxItemSet &rSet )
|
|||
#if HAVE_FEATURE_MACOSX_SANDBOX
|
||||
rSet.DisableItem(nSID);
|
||||
#endif
|
||||
if (isExportLocked())
|
||||
if (isExportLocked() && nSID != SID_MAIL_SENDDOC)
|
||||
rSet.DisableItem(nSID);
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue