diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-02-21 16:03:13 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-02-22 07:39:44 +0100 |
commit | 131cc96a890b8988703532d09773bb0bde20ee8a (patch) | |
tree | e89c868180690503c9e8b0de1f60f9686dd2fa61 /ucb/source/cacher | |
parent | 10134a2f8b604c934676e9e622d8123862a0b941 (diff) |
loplugin:unusedfields in ucb,ucbhelper
Change-Id: Id15c92e54669bd5f26adfe0d0b9dda0e8894ccf3
Reviewed-on: https://gerrit.libreoffice.org/68161
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'ucb/source/cacher')
-rw-r--r-- | ucb/source/cacher/cachedcontentresultsetstub.cxx | 8 | ||||
-rw-r--r-- | ucb/source/cacher/cachedcontentresultsetstub.hxx | 5 |
2 files changed, 4 insertions, 9 deletions
diff --git a/ucb/source/cacher/cachedcontentresultsetstub.cxx b/ucb/source/cacher/cachedcontentresultsetstub.cxx index b9085f7ac323..a648beac5e76 100644 --- a/ucb/source/cacher/cachedcontentresultsetstub.cxx +++ b/ucb/source/cacher/cachedcontentresultsetstub.cxx @@ -497,10 +497,8 @@ FetchResult SAL_CALL CachedContentResultSetStub // class CachedContentResultSetStubFactory -CachedContentResultSetStubFactory::CachedContentResultSetStubFactory( - const Reference< XMultiServiceFactory > & rSMgr ) +CachedContentResultSetStubFactory::CachedContentResultSetStubFactory() { - m_xSMgr = rSMgr; } CachedContentResultSetStubFactory::~CachedContentResultSetStubFactory() @@ -546,10 +544,10 @@ XSERVICEINFO_COMMOM_IMPL( CachedContentResultSetStubFactory, OUString( "com.sun.star.comp.ucb.CachedContentResultSetStubFactory" ) ) /// @throws css::uno::Exception static css::uno::Reference< css::uno::XInterface > -CachedContentResultSetStubFactory_CreateInstance( const css::uno::Reference< css::lang::XMultiServiceFactory> & rSMgr ) +CachedContentResultSetStubFactory_CreateInstance( const css::uno::Reference< css::lang::XMultiServiceFactory> & ) { css::lang::XServiceInfo* pX = - static_cast<css::lang::XServiceInfo*>(new CachedContentResultSetStubFactory( rSMgr )); + static_cast<css::lang::XServiceInfo*>(new CachedContentResultSetStubFactory); return css::uno::Reference< css::uno::XInterface >::query( pX ); } css::uno::Sequence< OUString > diff --git a/ucb/source/cacher/cachedcontentresultsetstub.hxx b/ucb/source/cacher/cachedcontentresultsetstub.hxx index c4ba74410680..5a4182a63efd 100644 --- a/ucb/source/cacher/cachedcontentresultsetstub.hxx +++ b/ucb/source/cacher/cachedcontentresultsetstub.hxx @@ -146,12 +146,9 @@ class CachedContentResultSetStubFactory final , public css::lang::XServiceInfo , public css::ucb::XCachedContentResultSetStubFactory { - css::uno::Reference< css::lang::XMultiServiceFactory > m_xSMgr; - public: - CachedContentResultSetStubFactory( - const css::uno::Reference< css::lang::XMultiServiceFactory > & rSMgr); + CachedContentResultSetStubFactory(); virtual ~CachedContentResultSetStubFactory() override; |