diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-05-11 15:10:58 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-05-11 18:04:58 +0200 |
commit | 6ed0b0230efebe6b3c705e74b8583359ebe4bbe2 (patch) | |
tree | fd3e152a797281cd4d5101377daa8de7bca69f0c /chart2 | |
parent | 7fd79956833ed26429f1a55f1fdf0ac50325161d (diff) |
remove archaic Content.xml fallback
there's no evidence that Content.xml (or Meta.xml) was written by any released
version to necessitate the fallback
reportdesign Settings.xml and Style.xml fallbacks appear to be cargocult
influenced by the Content.xml/Meta.xml examples
Change-Id: I51d138344edaffc6d21e17c2d28047ea6316304e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93970
Reviewed-by: Michael Stahl <michael.stahl@cib.de>
Tested-by: Jenkins
Diffstat (limited to 'chart2')
-rw-r--r-- | chart2/source/model/filter/XMLFilter.cxx | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/chart2/source/model/filter/XMLFilter.cxx b/chart2/source/model/filter/XMLFilter.cxx index 467afe8038a2..3126eca15a1b 100644 --- a/chart2/source/model/filter/XMLFilter.cxx +++ b/chart2/source/model/filter/XMLFilter.cxx @@ -382,15 +382,6 @@ ErrCode XMLFilter::impl_Import( : OUString("com.sun.star.comp.Chart.XMLContentImporter"), xStorage, xFactory, xGraphicStorageHandler, xImportInfo ); nWarning = nWarning != ERRCODE_NONE ? nWarning : nContentWarning; - - // import of "content.xml" didn't work - try old "Content.xml" stream - if( nContentWarning != ERRCODE_NONE ) - { - nWarning = impl_ImportStream( - "Content.xml", // old content stream name - "com.sun.star.office.sax.importer.Chart", - xStorage, xFactory, xGraphicStorageHandler, xImportInfo ); - } } catch (const uno::Exception&) { |