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:
Noel Grandin
2024-06-20 14:03:21 +02:00
parent 50f3443d59
commit 86a827da7c
21 changed files with 665 additions and 751 deletions
+1 -2
View File
@@ -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;
};
+3 -4
View File
@@ -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);
}