diff --git a/xmloff/source/draw/ximppage.cxx b/xmloff/source/draw/ximppage.cxx index e3cd009a4139..1c3c555b719d 100644 --- a/xmloff/source/draw/ximppage.cxx +++ b/xmloff/source/draw/ximppage.cxx @@ -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 >& ) { GetImport().GetShapeImport()->pushGroupForPostProcessing( mxShapes ); @@ -281,11 +276,6 @@ SvXMLImportContextRef SdXMLGenericPageContext::CreateChildContext( sal_uInt16 nP return xContext; } -void SdXMLGenericPageContext::EndElement() -{ - assert(false); -} - void SdXMLGenericPageContext::endFastElement(sal_Int32 ) { GetImport().GetShapeImport()->popGroupAndPostProcess(); diff --git a/xmloff/source/draw/ximppage.hxx b/xmloff/source/draw/ximppage.hxx index ba2eef58b8f4..daa47f9ec48a 100644 --- a/xmloff/source/draw/ximppage.hxx +++ b/xmloff/source/draw/ximppage.hxx @@ -64,14 +64,12 @@ public: css::uno::Reference< css::drawing::XShapes > const & rShapes); 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 SvXMLImportContextRef CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, const css::uno::Reference< css::xml::sax::XAttributeList>& xAttrList ) override; virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL createFastChildContext( 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; const css::uno::Reference< css::drawing::XShapes >& GetLocalShapesContext() const