xmloff/source/draw/layerimp.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit fcfb116805d27e349622afe7dcfbb2f8f570712a Author: Noel Grandin <noel.gran...@collabora.co.uk> AuthorDate: Tue Oct 22 10:20:23 2024 +0200 Commit: Xisco Fauli <xiscofa...@libreoffice.org> CommitDate: Tue Oct 22 16:55:18 2024 +0200 tdf#163516 Draw fails to restore Layer data Title and Description regression from commit c7b7153213619859d5f049b7c60eafa4c81f5225 Author: Noel Grandin <noelgran...@gmail.com> Date: Fri Nov 20 14:24:51 2020 +0200 fastparser in SdXMLLayerContext Change-Id: I0db381fbd383efd23bb254703bea103ca0d270d7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175378 Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk> Tested-by: Jenkins (cherry picked from commit 75d6fd09138283b4af949d8071ecfee5e2545180) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175399 Reviewed-by: Xisco Fauli <xiscofa...@libreoffice.org> diff --git a/xmloff/source/draw/layerimp.cxx b/xmloff/source/draw/layerimp.cxx index eeffae04e997..fae92380a257 100644 --- a/xmloff/source/draw/layerimp.cxx +++ b/xmloff/source/draw/layerimp.cxx @@ -98,11 +98,11 @@ css::uno::Reference< css::xml::sax::XFastContextHandler > SdXMLLayerContext::cre sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList >& ) { - if( nElement == XML_ELEMENT(SVG, XML_TITLE) ) + if( nElement == XML_ELEMENT(SVG, XML_TITLE) || nElement == XML_ELEMENT(SVG_COMPAT, XML_TITLE) ) { return new XMLStringBufferImportContext( GetImport(), sTitleBuffer); } - else if( nElement == XML_ELEMENT(SVG, XML_DESC) ) + else if( nElement == XML_ELEMENT(SVG, XML_DESC) || nElement == XML_ELEMENT(SVG_COMPAT, XML_DESC) ) { return new XMLStringBufferImportContext( GetImport(), sDescriptionBuffer); }