diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-12-21 09:00:31 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-12-21 09:18:16 +0100 |
commit | e5594e656d7d7958015cfe0bdbcd42ecd5a9c9c3 (patch) | |
tree | c0765d7848b24d1ed6225484dacb44841390f6d7 /xmloff | |
parent | be446d81e07b5499152efeca6ca23034e51ea5ff (diff) |
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.grandin@collabora.co.uk>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'xmloff')
-rw-r--r-- | xmloff/source/chart/SchXMLTableContext.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
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 ); } |