From 36313d93ac6f88bb4b4e4ed7109db583c7ce9886 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 18 Jul 2016 09:03:51 +0200 Subject: improve unnecessaryoverride plugin to ignore ImplicitCastExpr when calling superclass method Change-Id: I76a3068446acfee85aa1baeb216e57f63c7099c1 Reviewed-on: https://gerrit.libreoffice.org/27279 Tested-by: Jenkins Reviewed-by: Noel Grandin --- xmloff/source/draw/ximpnote.cxx | 8 -------- xmloff/source/draw/ximpnote.hxx | 4 ---- 2 files changed, 12 deletions(-) (limited to 'xmloff/source') diff --git a/xmloff/source/draw/ximpnote.cxx b/xmloff/source/draw/ximpnote.cxx index 4f711bb042ce..0470e71dade9 100644 --- a/xmloff/source/draw/ximpnote.cxx +++ b/xmloff/source/draw/ximpnote.cxx @@ -92,12 +92,4 @@ SdXMLNotesContext::~SdXMLNotesContext() { } -SvXMLImportContext *SdXMLNotesContext::CreateChildContext( sal_uInt16 nPrefix, - const OUString& rLocalName, - const uno::Reference< xml::sax::XAttributeList>& xAttrList ) -{ - // no own context in notes, call parent - return SdXMLGenericPageContext::CreateChildContext(nPrefix, rLocalName, xAttrList); -} - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/draw/ximpnote.hxx b/xmloff/source/draw/ximpnote.hxx index a53a5c70084c..5da731fdddfa 100644 --- a/xmloff/source/draw/ximpnote.hxx +++ b/xmloff/source/draw/ximpnote.hxx @@ -38,10 +38,6 @@ public: const css::uno::Reference< css::xml::sax::XAttributeList>& xAttrList, css::uno::Reference< css::drawing::XShapes >& rShapes); virtual ~SdXMLNotesContext(); - - virtual SvXMLImportContext *CreateChildContext( - sal_uInt16 nPrefix, const OUString& rLocalName, - const css::uno::Reference< css::xml::sax::XAttributeList>& xAttrList ) override; }; #endif // INCLUDED_XMLOFF_SOURCE_DRAW_XIMPNOTE_HXX -- cgit