diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2022-12-31 08:52:53 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-12-31 07:49:03 +0000 |
commit | c6f756e968bbb72522bd01dea283288a61a286a7 (patch) | |
tree | 5289e93f7d7c38213b3bcc323c9a5e078e7c85a7 /unotools | |
parent | 5a06b3b789063e77afe7395226359c6ce8aad156 (diff) |
tdf#152676 Writer: Compatibility options no longer saved as default
regression from
commit 78adf246d5e99d0f5d91d2e03c1379b154289d8d
Date: Mon Jul 26 10:54:36 2021 +0200
return SvtCompatibilityEntry from SvtCompatibilityOptions::GetList
where I mistakenly assumed that the bIsDefault flag in
SvtCompatibilityEntry was being set by the SvtCompatibilityOptions
code. Rather remove this field if it is not going to be maintained
properly.
Change-Id: I23963ae885563d5abc8a99cfd144d7fe00c6f192
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/144882
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'unotools')
-rw-r--r-- | unotools/source/config/compatibility.cxx | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/unotools/source/config/compatibility.cxx b/unotools/source/config/compatibility.cxx index 4f0e1d2ac20c..eed01cce1c8b 100644 --- a/unotools/source/config/compatibility.cxx +++ b/unotools/source/config/compatibility.cxx @@ -65,8 +65,6 @@ SvtCompatibilityEntry::SvtCompatibilityEntry() setValue<bool>( Index::SubtractFlysAnchoredAtFlys, false ); setValue<bool>( Index::EmptyDbFieldHidesPara, true ); setValue<bool>( Index::AddTableLineSpacing, false ); - - setDefaultEntry( false ); } OUString SvtCompatibilityEntry::getName( const Index rIdx ) |