summaryrefslogtreecommitdiff
path: root/xmloff/source/table/XMLTableExport.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff/source/table/XMLTableExport.cxx')
-rw-r--r--xmloff/source/table/XMLTableExport.cxx2
1 files changed, 1 insertions, 1 deletions
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