diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2017-05-26 18:13:54 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2017-05-26 23:17:16 +0200 |
commit | f85ded43446b17fbfdd868cc057ba39666d3d7cb (patch) | |
tree | 8ee201762ab53cdc724270ccc93e42f29e3ddf11 /unotools | |
parent | 0714d2f3009bbb24501561c1a8e96a6feb9a42ca (diff) |
tdf#108056 sw: add UI to disable SubtractFlysAnchoredAtFlys compat option
There is a reason this is off by default, make it a bit more easier for
users to not depend this option when they don't actually need it.
Change-Id: I21c5b942c6021fa21840779e1a9f53055fbf279f
Reviewed-on: https://gerrit.libreoffice.org/38081
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
Diffstat (limited to 'unotools')
-rw-r--r-- | unotools/source/config/compatibility.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/unotools/source/config/compatibility.cxx b/unotools/source/config/compatibility.cxx index 91b3e53e5929..bea5cb841a3b 100644 --- a/unotools/source/config/compatibility.cxx +++ b/unotools/source/config/compatibility.cxx @@ -61,6 +61,7 @@ SvtCompatibilityEntry::SvtCompatibilityEntry() setValue<bool>( Index::ExpandWordSpace, true ); setValue<bool>( Index::ProtectForm, false ); setValue<bool>( Index::MsWordTrailingBlanks, false ); + setValue<bool>( Index::SubtractFlysAnchoredAtFlys, false ); setDefaultEntry( false ); } @@ -90,7 +91,8 @@ OUString SvtCompatibilityEntry::getName( const Index rIdx ) "ConsiderWrappingStyle", "ExpandWordSpace", "ProtectForm", - "MsWordCompTrailingBlanks" + "MsWordCompTrailingBlanks", + "SubtractFlysAnchoredAtFlys" }; /* Size of sPropertyName array not equal size of the SvtCompatibilityEntry::Index enum class */ |