diff options
author | Michael Stahl <Michael.Stahl@cib.de> | 2020-05-18 17:50:39 +0200 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2021-01-07 16:32:55 +0100 |
commit | cc5b6831301d95845e8fb842aa0047bd69e59a72 (patch) | |
tree | eef1ce39e710ac5c215d81f7289c14752b20680b | |
parent | tdf#102256 sw: ODF export: don't write table:table in shapes (diff) | |
download | core-cc5b6831301d95845e8fb842aa0047bd69e59a72.tar.gz core-cc5b6831301d95845e8fb842aa0047bd69e59a72.zip |
tdf#106780 xmloff: ODF export: only write invalid text:style-name...
... in case of ODF 1.2 Extended (compatibility mode), which is intended
for workarounds for old OOo/LO versions.
Change-Id: Ib0411c09d795383a481be8b4661dc71b02b0181b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94442
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl@cib.de>
-rw-r--r-- | xmloff/source/table/XMLTableExport.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmloff/source/table/XMLTableExport.cxx b/xmloff/source/table/XMLTableExport.cxx index 2a3846d94c05..817d4c9e153b 100644 --- a/xmloff/source/table/XMLTableExport.cxx +++ b/xmloff/source/table/XMLTableExport.cxx @@ -611,7 +611,7 @@ void XMLTableExport::exportTableTemplates() else { // checks if any of the extended version of ODF are set - if ((eVersion & SvtSaveOptions::ODFSVER_EXTENDED) != 0) + if (eVersion == SvtSaveOptions::ODFSVER_012_EXT_COMPAT) { // tdf#106780 historically this wrong attribute was used // for the name; write it if extended because LO < 5.3 can |