diff options
author | Mihai Varga <mihai.varga@collabora.com> | 2015-08-12 10:32:07 +0300 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2015-08-13 11:49:29 +0000 |
commit | e5ba9090f4809906ffa1c1dea352161cb988b97f (patch) | |
tree | 980d3b529f26ff2762d5ff0c85b3f0b323bb6e62 /sd | |
parent | Added Test for tdf#74363 auto correct of initial captials on start (diff) | |
download | core-e5ba9090f4809906ffa1c1dea352161cb988b97f.tar.gz core-e5ba9090f4809906ffa1c1dea352161cb988b97f.zip |
tdf#93154: Save button often does not save
The problem is that in tiled rendering LO doesn't always consider the
document to be modified. Some operations such as Bold, Italic, etc do
not mark the document as being modified, but we need to be able to save
the changes. This solved the issue by always allowing to save.
Change-Id: Iaf8120abadc768a07b24f42c287c50080b4e4d89
Reviewed-on: https://gerrit.libreoffice.org/17665
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/unoidl/unomodel.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sd/source/ui/unoidl/unomodel.cxx b/sd/source/ui/unoidl/unomodel.cxx index b67c3217a42b..d2366dce54ff 100644 --- a/sd/source/ui/unoidl/unomodel.cxx +++ b/sd/source/ui/unoidl/unomodel.cxx @@ -60,6 +60,7 @@ #include <editeng/unolingu.hxx> #include <svx/svdpagv.hxx> #include <svtools/unoimap.hxx> +#include <svtools/miscopt.hxx> #include <svx/unoshape.hxx> #include <editeng/unonrule.hxx> #include <editeng/eeitem.hxx> @@ -2382,6 +2383,9 @@ void SdXImpressDocument::initializeForTiledRendering() pWindow->EnableMapMode(false); } } + // tdf#93154: in tiled rendering LO doesn't always detect changes + SvtMiscOptions aMiscOpt; + aMiscOpt.SetSaveAlwaysAllowed(true); } void SdXImpressDocument::registerCallback(LibreOfficeKitCallback pCallback, void* pData) |