diff options
author | Henry Castro <hcastro@collabora.com> | 2023-01-05 11:32:32 -0400 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2023-02-09 13:06:14 +0000 |
commit | 1854f8ae2cf5966db1b51968dafc27785d3b7a11 (patch) | |
tree | d88d0128f46e49e4dd296a8fb3eeda3fc258a9dd | |
parent | 6031935412efbd610486af11561b8818d3e4d1bf (diff) |
lok: sc: avoid the shared spreadsheet dialog
It is not needed the LO core shared spreadsheet
because the online has collaborative functionality turns on
by default.
Signed-off-by: Henry Castro <hcastro@collabora.com>
Change-Id: I57ab83eae2913522d55704ae5a115e30c9d10034
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/145091
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/145613
Tested-by: Andras Timar <andras.timar@collabora.com>
(cherry picked from commit 7137fa5158530c0f6adb1f80f82203b43213187f)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146632
Tested-by: Jenkins
-rw-r--r-- | sc/source/ui/docshell/docsh.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sc/source/ui/docshell/docsh.cxx b/sc/source/ui/docshell/docsh.cxx index 1f58bf43f1b7..9d7b77b888e5 100644 --- a/sc/source/ui/docshell/docsh.cxx +++ b/sc/source/ui/docshell/docsh.cxx @@ -726,7 +726,8 @@ void ScDocShell::Notify( SfxBroadcaster&, const SfxHint& rHint ) #endif #if HAVE_FEATURE_MULTIUSER_ENVIRONMENT - if ( IsDocShared() && !SC_MOD()->IsInSharedDocLoading() ) + if ( IsDocShared() && !SC_MOD()->IsInSharedDocLoading() + && !comphelper::LibreOfficeKit::isActive() ) { ScAppOptions aAppOptions = SC_MOD()->GetAppOptions(); if ( aAppOptions.GetShowSharedDocumentWarning() ) |