diff options
author | Michael Stahl <Michael.Stahl@cib.de> | 2020-05-20 14:23:51 +0200 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2021-01-07 16:32:56 +0100 |
commit | 2e974d9de12da727cacc7ae7c7b6bcb1de46da99 (patch) | |
tree | e1b195b4ae60ec643c68f45750d9df5bd14960d3 /sw/source | |
parent | 57af4bc4c26acff48a3c6b7606135130cc980a70 (diff) |
[API CHANGE] officecfg,xmloff: remove SaveBackwardCompatibleODF
org.openoffice.Office.Common.Save.Document.SaveBackwardCompatibleODF
was added in 2007 and apparently enables storing invalid ODF (or OOoXML)
to workaround bugs in OOo <= 2.3; nobody should need it in this day and
age, and the OOoXML export has been removed anyway.
bce5e157785745a6729db62b15fb98bc396cddee 2007
c7a3859693971bf7103bfb0d05d64712e724fa37 2007
7477a65e09b20917adf025550c550f8822b508ee 2007
77baabe992c77018a0467ffec8f9482f8d76b66b 2007
575222083e058a740f5ad69e14e18622c3d4f7af 2007
66b908b45cde78af020b35e817e67bc40b8493f0 2007
Change-Id: Ib3f730c7c9ac6fbbbbae9fb4a42c1bd65f6c93df
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94571
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl@cib.de>
Diffstat (limited to 'sw/source')
-rw-r--r-- | sw/source/filter/xml/xmlexpit.cxx | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/sw/source/filter/xml/xmlexpit.cxx b/sw/source/filter/xml/xmlexpit.cxx index ab6ce1236e31..dc82cbce3490 100644 --- a/sw/source/filter/xml/xmlexpit.cxx +++ b/sw/source/filter/xml/xmlexpit.cxx @@ -106,7 +106,7 @@ void SvXMLExportItemMapper::exportXML( const SvXMLExport& rExport, } } -void SvXMLExportItemMapper::exportXML( const SvXMLExport& rExport, +void SvXMLExportItemMapper::exportXML(const SvXMLExport&, SvXMLAttributeList& rAttrList, const SfxPoolItem& rItem, const SvXMLItemMapEntry& rEntry, @@ -122,13 +122,7 @@ void SvXMLExportItemMapper::exportXML( const SvXMLExport& rExport, bool bAddAttribute = true; if( rEntry.nNameSpace == XML_NAMESPACE_STYLE ) { - if( !(rExport.getExportFlags() & SvXMLExportFlags::SAVEBACKWARDCOMPATIBLE ) || - !QueryXMLValue(rItem, aValue, - static_cast< sal_uInt16 >( rEntry.nMemberId & MID_SW_FLAG_MASK ), - rUnitConverter ) ) - { - bAddAttribute = false; - } + bAddAttribute = false; } else { |