sc/source/ui/docshell/docsh.cxx |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 579423bc8b608bdb189fcfb4f86a21ba904c43e5
Author:     Henry Castro <hcas...@collabora.com>
AuthorDate: Thu Jan 5 11:32:32 2023 -0400
Commit:     Andras Timar <andras.ti...@collabora.com>
CommitDate: Tue Jan 10 11:05:40 2023 +0000

    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 <hcas...@collabora.com>
    Change-Id: I57ab83eae2913522d55704ae5a115e30c9d10034
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/145091
    Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com>
    Reviewed-by: Andras Timar <andras.ti...@collabora.com>

diff --git a/sc/source/ui/docshell/docsh.cxx b/sc/source/ui/docshell/docsh.cxx
index 867bd443c47a..309455118827 100644
--- a/sc/source/ui/docshell/docsh.cxx
+++ b/sc/source/ui/docshell/docsh.cxx
@@ -729,7 +729,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() )

Reply via email to