diff options
author | Michael Stahl <michael.stahl@allotropia.de> | 2024-06-05 18:53:05 +0200 |
---|---|---|
committer | Michael Stahl <michael.stahl@allotropia.de> | 2024-06-06 10:15:38 +0200 |
commit | 3e7478ef9706e74ac551c1f94090e163e74c7fd8 (patch) | |
tree | 29bcb33b253d68c58ebbc7514d6171df11d124c9 /distro-configs/Jenkins/android_x86_64 | |
parent | tdf#153008 svx: impl crop for stretched bitmap fill (diff) | |
download | core-master.tar.gz core-master.zip |
tdf#157931 sfx2: fix modified status of Base forms
HEADmaster
The problem is that when a Base form is not in design mode, it's not
expected that it will be stored.
There are checks for m_bOpenInDesign in ODocumentDefinition::save() and
ODocumentDefinition::saveAs() that were added in commit
9cfe62966ff1e0039d95a07d0c613675a53e3075 "CWS dba201b" but removing
these runs into another check in OCommonEmbeddedObject::storeOwn()
of m_bReadOnly and then it still fails, presumably because the storage
was opened readonly.
Let's restore SfxObjectShell::IsEnableSetModified() to check
IsReadOnly(), but only for Base form documents, which seems simplest.
(regression from commit bde746141f9b382156a5ce79ebf82c5e32fc455b)
Change-Id: I886389e2bd462d27ed5c46bfd2132893bb2d5a81
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/168481
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
Tested-by: Jenkins
Diffstat (limited to 'distro-configs/Jenkins/android_x86_64')
0 files changed, 0 insertions, 0 deletions