summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorSzymon Kłos <szymon.klos@collabora.com>2020-09-21 11:16:35 +0200
committerSzymon Kłos <szymon.klos@collabora.com>2020-10-06 13:21:47 +0200
commit6684a11703432da748f8a725b05d0e5edcc90568 (patch)
treeb18d106559c3331671c61f689c4ae96e568798d9 /desktop
parent1400114a69ef4b946f66e0b9af2ab20299478a3e (diff)
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@gmail.com> Reviewed-by: Andras Timar <andras.timar@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104014 Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Diffstat (limited to 'desktop')
-rw-r--r--desktop/source/lib/init.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx
index d6cd2f3fb9ce..abde59b9b5c6 100644
--- a/desktop/source/lib/init.cxx
+++ b/desktop/source/lib/init.cxx
@@ -3986,7 +3986,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);