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:29:31 +0200
commitc43393135a6cd0f748433fc39ff45938b82e0464 (patch)
tree4ad5477f994caebff18e30a87f2f490786056041 /desktop
parent72f36d5e7a982b1a8b58dd73da4db580bf5124f1 (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/+/104011 Tested-by: Jenkins 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 e3c4d8ae7d2f..0d94f67cea11 100644
--- a/desktop/source/lib/init.cxx
+++ b/desktop/source/lib/init.cxx
@@ -3972,7 +3972,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);