diff options
-rw-r--r-- | sc/source/ui/unoobj/docuno.cxx | 4 | ||||
-rw-r--r-- | sd/source/ui/unoidl/unomodel.cxx | 4 | ||||
-rw-r--r-- | sw/source/uibase/uno/unotxdoc.cxx | 4 |
3 files changed, 12 insertions, 0 deletions
diff --git a/sc/source/ui/unoobj/docuno.cxx b/sc/source/ui/unoobj/docuno.cxx index 979edea06012..5faec95786f9 100644 --- a/sc/source/ui/unoobj/docuno.cxx +++ b/sc/source/ui/unoobj/docuno.cxx @@ -44,6 +44,7 @@ #include <tools/multisel.hxx> #include <tools/resary.hxx> #include <toolkit/awt/vclxdevice.hxx> +#include <svtools/miscopt.hxx> #include <ctype.h> #include <float.h> @@ -839,6 +840,9 @@ void ScModelObj::initializeForTiledRendering() aInputOptions.SetTextWysiwyg(true); SC_MOD()->SetInputOptions(aInputOptions); pDocShell->CalcOutputFactor(); + // tdf#93154: in tiled rendering LO doesn't always detect changes + SvtMiscOptions aMiscOpt; + aMiscOpt.SetSaveAlwaysAllowed(true); } uno::Any SAL_CALL ScModelObj::queryInterface( const uno::Type& rType ) 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) diff --git a/sw/source/uibase/uno/unotxdoc.cxx b/sw/source/uibase/uno/unotxdoc.cxx index aceb6f409903..ed69e7b5b9f9 100644 --- a/sw/source/uibase/uno/unotxdoc.cxx +++ b/sw/source/uibase/uno/unotxdoc.cxx @@ -136,6 +136,7 @@ #include <swdtflvr.hxx> #include <svtools/langtab.hxx> +#include <svtools/miscopt.hxx> #include <map> #include <set> #include <vector> @@ -3224,6 +3225,9 @@ void SwXTextDocument::initializeForTiledRendering() // directly in twips. SwEditWin& rEditWin = pDocShell->GetView()->GetEditWin(); rEditWin.EnableMapMode(false); + // tdf#93154: in tiled rendering LO doesn't always detect changes + SvtMiscOptions aMiscOpt; + aMiscOpt.SetSaveAlwaysAllowed(true); } void SwXTextDocument::registerCallback(LibreOfficeKitCallback pCallback, void* pData) |