xmloff/source/table/XMLTableExport.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit d6ba23a7c0fbd4b59b8011012bbcaa002c5c84ca Author: Michael Stahl <michael.st...@cib.de> AuthorDate: Mon May 18 17:50:39 2020 +0200 Commit: Michael Stahl <michael.st...@cib.de> CommitDate: Tue May 19 17:03:09 2020 +0200 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.st...@cib.de> diff --git a/xmloff/source/table/XMLTableExport.cxx b/xmloff/source/table/XMLTableExport.cxx index 32cdf3a69f28..b2ffc284cfd2 100644 --- a/xmloff/source/table/XMLTableExport.cxx +++ b/xmloff/source/table/XMLTableExport.cxx @@ -613,7 +613,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 _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits