From 1854f8ae2cf5966db1b51968dafc27785d3b7a11 Mon Sep 17 00:00:00 2001 From: Henry Castro Date: Thu, 5 Jan 2023 11:32:32 -0400 Subject: 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 Change-Id: I57ab83eae2913522d55704ae5a115e30c9d10034 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/145091 Tested-by: Jenkins CollaboraOffice Reviewed-by: Andras Timar Reviewed-on: https://gerrit.libreoffice.org/c/core/+/145613 Tested-by: Andras Timar (cherry picked from commit 7137fa5158530c0f6adb1f80f82203b43213187f) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146632 Tested-by: Jenkins --- sc/source/ui/docshell/docsh.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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() ) -- cgit