diff options
author | Michael Stahl <Michael.Stahl@cib.de> | 2020-05-19 14:42:46 +0200 |
---|---|---|
committer | Michael Stahl <michael.stahl@cib.de> | 2020-05-19 17:04:50 +0200 |
commit | c4df27dc893fc397725334f885cb6bdb2585924a (patch) | |
tree | eca6cb735827152fa4220d54dd754bb9e688b005 /sc/source/filter/xml/XMLExportDataPilot.cxx | |
parent | 693cefb59286daf6ff86f1db16f0d64b4b9b4588 (diff) |
sc: ODF export: OFFICE-3665 table:name on source-cell-range
It turns out that commit d840c7e15402dc3a133b400b113e28c0c78702c5
is pointless because this attribute was actually added in ODF 1.3,
which i didn't notice before; this means there's no benefit to add
a loext:name at this point.
Change-Id: Ic4c7a00f62e399f232a6e515ab83cd9ad99c01e1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94501
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl@cib.de>
Diffstat (limited to 'sc/source/filter/xml/XMLExportDataPilot.cxx')
-rw-r--r-- | sc/source/filter/xml/XMLExportDataPilot.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sc/source/filter/xml/XMLExportDataPilot.cxx b/sc/source/filter/xml/XMLExportDataPilot.cxx index ab3f2f4fe665..185e43efdaca 100644 --- a/sc/source/filter/xml/XMLExportDataPilot.cxx +++ b/sc/source/filter/xml/XMLExportDataPilot.cxx @@ -835,12 +835,11 @@ void ScXMLExportDataPilot::WriteDataPilots() if (rExport.getSaneDefaultVersion() & SvtSaveOptions::ODFSVER_EXTENDED) { if (pSheetSource->HasRangeName()) - { + { // ODF 1.3 OFFICE-3665 // FIXME this was wrongly exported to TABLE namespace since 2011 + // so continue doing that in ODF 1.2 extended, for now rExport.AddAttribute( XML_NAMESPACE_TABLE, XML_NAME, pSheetSource->GetRangeName()); - rExport.AddAttribute( - XML_NAMESPACE_LO_EXT, XML_NAME, pSheetSource->GetRangeName()); } } |