StartElement/EndElement in SdXMLGenericPageContext are superfluous now

after
    commit 2176aed0e3a79bd457ad3678490262dae9ea1361 (HEAD -> master)
    Date:   Mon Mar 9 10:09:48 2020 +0200
    convert SdXMLGenericPageContext to fastparser

Change-Id: I5b1b8dff1a667e4e916b6625a1fca2d0a6b9b9c2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90216
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
This commit is contained in:
Noel Grandin 2020-03-09 13:00:40 +02:00
parent cfc2a227b4
commit fca333820d
2 changed files with 0 additions and 12 deletions

View file

@ -231,11 +231,6 @@ SdXMLGenericPageContext::~SdXMLGenericPageContext()
{ {
} }
void SdXMLGenericPageContext::StartElement( const Reference< css::xml::sax::XAttributeList >& )
{
assert(false);
}
void SdXMLGenericPageContext::startFastElement( sal_Int32 /*nElement*/, const Reference< css::xml::sax::XFastAttributeList >& ) void SdXMLGenericPageContext::startFastElement( sal_Int32 /*nElement*/, const Reference< css::xml::sax::XFastAttributeList >& )
{ {
GetImport().GetShapeImport()->pushGroupForPostProcessing( mxShapes ); GetImport().GetShapeImport()->pushGroupForPostProcessing( mxShapes );
@ -281,11 +276,6 @@ SvXMLImportContextRef SdXMLGenericPageContext::CreateChildContext( sal_uInt16 nP
return xContext; return xContext;
} }
void SdXMLGenericPageContext::EndElement()
{
assert(false);
}
void SdXMLGenericPageContext::endFastElement(sal_Int32 ) void SdXMLGenericPageContext::endFastElement(sal_Int32 )
{ {
GetImport().GetShapeImport()->popGroupAndPostProcess(); GetImport().GetShapeImport()->popGroupAndPostProcess();

View file

@ -64,14 +64,12 @@ public:
css::uno::Reference< css::drawing::XShapes > const & rShapes); css::uno::Reference< css::drawing::XShapes > const & rShapes);
virtual ~SdXMLGenericPageContext() override; virtual ~SdXMLGenericPageContext() override;
virtual void StartElement( const css::uno::Reference< css::xml::sax::XAttributeList >& xAttrList ) final override;
virtual void SAL_CALL startFastElement( sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList >& xAttrList ) override; virtual void SAL_CALL startFastElement( sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList >& xAttrList ) override;
virtual SvXMLImportContextRef CreateChildContext( virtual SvXMLImportContextRef CreateChildContext(
sal_uInt16 nPrefix, const OUString& rLocalName, sal_uInt16 nPrefix, const OUString& rLocalName,
const css::uno::Reference< css::xml::sax::XAttributeList>& xAttrList ) override; const css::uno::Reference< css::xml::sax::XAttributeList>& xAttrList ) override;
virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL createFastChildContext( virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL createFastChildContext(
sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList >& AttrList ) override; sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList >& AttrList ) override;
virtual void EndElement() final override;
virtual void SAL_CALL endFastElement(sal_Int32 nElement) override; virtual void SAL_CALL endFastElement(sal_Int32 nElement) override;
const css::uno::Reference< css::drawing::XShapes >& GetLocalShapesContext() const const css::uno::Reference< css::drawing::XShapes >& GetLocalShapesContext() const