[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-6.2' - desktop/source

Szymon KÅ‚os (via logerrit) logerrit at kemper.freedesktop.org
Tue Sep 22 08:23:13 UTC 2020


 desktop/source/lib/init.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 3c292e1c9991fa3d365cbe2acc4c6fa2ec7ada92
Author:     Szymon Kłos <szymon.klos at collabora.com>
AuthorDate: Mon Sep 21 11:16:35 2020 +0200
Commit:     Andras Timar <andras.timar at collabora.com>
CommitDate: Tue Sep 22 10:22:40 2020 +0200

    Allow to save file if chart editing is active
    
    This helps in online where autosave after user
    closed view with chart editing active caused
    document to be broken and not allowing to open again.
    
    Change-Id: Iab6a9bfe2c5f67c155ee97726e752c83fc47af5f
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/103091
    Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice at gmail.com>
    Reviewed-by: Andras Timar <andras.timar at collabora.com>

diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx
index a2cf174ba599..b9fd1f9195e7 100644
--- a/desktop/source/lib/init.cxx
+++ b/desktop/source/lib/init.cxx
@@ -3952,7 +3952,7 @@ static void doc_postUnoCommand(LibreOfficeKitDocument* pThis, const char* pComma
     bool bResult = false;
     LokChartHelper aChartHelper(SfxViewShell::Current());
 
-    if (aChartHelper.GetWindow() )
+    if (aChartHelper.GetWindow() && aCommand != ".uno:Save" )
     {
         util::URL aCommandURL;
         aCommandURL.Path = aCommand.copy(5);


More information about the Libreoffice-commits mailing list