loplugin:unusedfields
Change-Id: I4bc67811e228b4806db9f9b9bf9fb0de0eb36de2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169263 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
This commit is contained in:
@@ -36,7 +36,7 @@ class TVFactory final : public cppu::WeakImplHelper <
|
||||
{
|
||||
public:
|
||||
|
||||
TVFactory( css::uno::Reference< css::uno::XComponentContext > xContext );
|
||||
TVFactory();
|
||||
|
||||
virtual ~TVFactory() override;
|
||||
|
||||
@@ -67,7 +67,6 @@ class TVFactory final : public cppu::WeakImplHelper <
|
||||
private:
|
||||
|
||||
// Members
|
||||
css::uno::Reference< css::uno::XComponentContext > m_xContext;
|
||||
css::uno::Reference< css::uno::XInterface > m_xHDS;
|
||||
};
|
||||
|
||||
|
||||
@@ -35,8 +35,7 @@ using namespace com::sun::star::lang;
|
||||
using namespace com::sun::star::beans;
|
||||
using namespace com::sun::star::container;
|
||||
|
||||
TVFactory::TVFactory( uno::Reference< XComponentContext > xContext )
|
||||
: m_xContext(std::move( xContext ))
|
||||
TVFactory::TVFactory()
|
||||
{
|
||||
}
|
||||
|
||||
@@ -123,9 +122,9 @@ TVFactory::getAvailableServiceNames( )
|
||||
|
||||
extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface*
|
||||
com_sun_star_help_TreeViewImpl_get_implementation(
|
||||
css::uno::XComponentContext* context, css::uno::Sequence<css::uno::Any> const&)
|
||||
css::uno::XComponentContext* /*context*/, css::uno::Sequence<css::uno::Any> const&)
|
||||
{
|
||||
return cppu::acquire(new TVFactory(context));
|
||||
return cppu::acquire(new TVFactory);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user