diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-02-21 13:10:45 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-02-22 06:42:19 +0000 |
commit | c1877a16b38bfd74a52e39b49289d5f5572b610b (patch) | |
tree | aac6e79a4fc26a520ef1cd097bea7ba25d695695 /xmlscript | |
parent | f0c7cbe1d8505d3c1f5a2b2253efda35542c898b (diff) |
loplugin:unusedfields
Change-Id: I8a114bcda99f123d230d61b0d0595bfe657cc3c0
Reviewed-on: https://gerrit.libreoffice.org/34513
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'xmlscript')
-rw-r--r-- | xmlscript/source/xml_helper/xml_impctx.cxx | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/xmlscript/source/xml_helper/xml_impctx.cxx b/xmlscript/source/xml_helper/xml_impctx.cxx index 598b2bd8cad8..a05f5df678f7 100644 --- a/xmlscript/source/xml_helper/xml_impctx.cxx +++ b/xmlscript/source/xml_helper/xml_impctx.cxx @@ -320,15 +320,12 @@ class ExtendedAttributes : OUString * m_pQNames; OUString * m_pValues; - rtl::Reference<DocumentHandlerImpl> m_xHandler; - public: inline ExtendedAttributes( sal_Int32 nAttributes, sal_Int32 * pUids, OUString * pLocalNames, OUString * pQNames, - Reference< xml::sax::XAttributeList > const & xAttributeList, - DocumentHandlerImpl * pHandler ); + Reference< xml::sax::XAttributeList > const & xAttributeList ); virtual ~ExtendedAttributes() throw () override; // XAttributes @@ -355,14 +352,12 @@ inline ExtendedAttributes::ExtendedAttributes( sal_Int32 nAttributes, sal_Int32 * pUids, OUString * pLocalNames, OUString * pQNames, - Reference< xml::sax::XAttributeList > const & xAttributeList, - DocumentHandlerImpl * pHandler ) + Reference< xml::sax::XAttributeList > const & xAttributeList ) : m_nAttributes( nAttributes ) , m_pUids( pUids ) , m_pLocalNames( pLocalNames ) , m_pQNames( pQNames ) , m_pValues( new OUString[ nAttributes ] ) - , m_xHandler( pHandler ) { for ( sal_Int32 nPos = 0; nPos < nAttributes; ++nPos ) { @@ -542,7 +537,7 @@ void DocumentHandlerImpl::startElement( xAttributes = static_cast< xml::input::XAttributes * >( new ExtendedAttributes( nAttribs, pUids, pLocalNames, pQNames, - xAttribs, this ) ); + xAttribs ) ); getElementName( rQElementName, &nUid, &aLocalName ); |