| commit | f4559274154324e132f82ba9c21676326f6db7e5 | [log] |
|---|---|---|
| author | Vasily Melenchuk <vasily.melenchuk@cib.de> | Tue Jan 18 12:50:01 2022 +0300 |
| committer | Vasily Melenchuk <vasily.melenchuk@cib.de> | Thu Jan 20 09:13:11 2022 +0100 |
| tree | 55835ca7caba9c37ec4128b73b483c812be38122 | |
| parent | a86669f4301541b446cab2e4fbbe1d86ba8a8a38 [diff] |
tdf#140019: Revert "Don't disable "Send doc via email" ..." Locked export should also disable ability to send document. This reverts commit b9930d0d05db39a8466b18dccf626bc3d8ae5c4e. Change-Id: I3b7b423c0e17a59872065ec7ceadbaf1cda45ccc Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128550 Tested-by: Jenkins Reviewed-by: Samuel Mehrbrodt <samuel.mehrbrodt@allotropia.de> Reviewed-by: Vasily Melenchuk <vasily.melenchuk@cib.de>
diff --git a/sfx2/source/view/viewsh.cxx b/sfx2/source/view/viewsh.cxx index 298f7a7..1cc61a8 100644 --- a/sfx2/source/view/viewsh.cxx +++ b/sfx2/source/view/viewsh.cxx
@@ -673,7 +673,7 @@ void SfxViewShell::GetState_Impl( SfxItemSet &rSet ) #if HAVE_FEATURE_MACOSX_SANDBOX rSet.DisableItem(nSID); #endif if (pSh && pSh->isExportLocked() && nSID != SID_MAIL_SENDDOC) if (pSh && pSh->isExportLocked()) rSet.DisableItem(nSID); break; }