xmloff/source/chart/SchXMLTableContext.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
New commits: commit e5594e656d7d7958015cfe0bdbcd42ecd5a9c9c3 Author: Noel Grandin <noel.gran...@collabora.co.uk> AuthorDate: Tue Dec 21 09:00:31 2021 +0200 Commit: Noel Grandin <noel.gran...@collabora.co.uk> CommitDate: Tue Dec 21 09:18:16 2021 +0100 also handle SVG_COMPAT namespace here Noticed an "unknown element" message while doing some unrelated debugging Change-Id: I1c6d4c9cddb340d892ba63d6d209bf8f72e2203d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127210 Tested-by: Noel Grandin <noel.gran...@collabora.co.uk> Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk> diff --git a/xmloff/source/chart/SchXMLTableContext.cxx b/xmloff/source/chart/SchXMLTableContext.cxx index 51c56b545a8d..ac8a9f3e3f51 100644 --- a/xmloff/source/chart/SchXMLTableContext.cxx +++ b/xmloff/source/chart/SchXMLTableContext.cxx @@ -1028,7 +1028,8 @@ css::uno::Reference< css::xml::sax::XFastContextHandler > SchXMLRangeSomewhereCo sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList >& ) { - if( nElement == XML_ELEMENT(SVG, XML_DESC) ) + if( nElement == XML_ELEMENT(SVG, XML_DESC) + || nElement == XML_ELEMENT(SVG_COMPAT, XML_DESC) ) { return new XMLStringBufferImportContext( GetImport(), maRangeStringBuffer ); }