lingucomponent/source/hyphenator/hyphen/hyphenimp.hxx | 1 - lingucomponent/source/languageguessing/guesslang.cxx | 12 +++++------- linguistic/source/defs.hxx | 2 -- lotuswordpro/source/filter/LotusWordProImportFilter.hxx | 1 - lotuswordpro/source/filter/lwpbulletstylemgr.hxx | 1 - mysqlc/source/mysqlc_connection.hxx | 1 - 6 files changed, 5 insertions(+), 13 deletions(-)
New commits: commit 1b80ad7246db991596f44ca58c4e4bd1e387e524 Author: Noel Grandin <n...@peralex.com> Date: Tue Dec 22 09:58:45 2015 +0200 loplugin:unusedfields in lingu,lotuswordpro,mysqlc Change-Id: I5866c8d95e04714e81a45e73bf00a430859a4327 diff --git a/lingucomponent/source/hyphenator/hyphen/hyphenimp.hxx b/lingucomponent/source/hyphenator/hyphen/hyphenimp.hxx index 73fc628..e59ab94 100644 --- a/lingucomponent/source/hyphenator/hyphen/hyphenimp.hxx +++ b/lingucomponent/source/hyphenator/hyphen/hyphenimp.hxx @@ -70,7 +70,6 @@ class Hyphenator : sal_Int32 numdict; ::cppu::OInterfaceContainerHelper aEvtListeners; - Reference< XMultiServiceFactory > rSMgr; linguistic::PropertyHelper_Hyphenation* pPropHelper; bool bDisposing; diff --git a/lingucomponent/source/languageguessing/guesslang.cxx b/lingucomponent/source/languageguessing/guesslang.cxx index 0cc0054..2ccea80 100644 --- a/lingucomponent/source/languageguessing/guesslang.cxx +++ b/lingucomponent/source/languageguessing/guesslang.cxx @@ -80,13 +80,12 @@ class LangGuess_Impl : { SimpleGuesser m_aGuesser; bool m_bInitialized; - css::uno::Reference< css::uno::XComponentContext > m_xContext; virtual ~LangGuess_Impl() {} void EnsureInitialized(); public: - explicit LangGuess_Impl(css::uno::Reference< css::uno::XComponentContext > const & rxContext); + LangGuess_Impl(); // XServiceInfo implementation virtual OUString SAL_CALL getImplementationName( ) throw(RuntimeException, std::exception) override; @@ -106,9 +105,8 @@ public: void SetFingerPrintsDB( const OUString &fileName ) throw (RuntimeException); }; -LangGuess_Impl::LangGuess_Impl(css::uno::Reference< css::uno::XComponentContext > const & rxContext) : - m_bInitialized( false ), - m_xContext( rxContext ) +LangGuess_Impl::LangGuess_Impl() : + m_bInitialized( false ) { } @@ -351,9 +349,9 @@ Sequence<OUString> SAL_CALL LangGuess_Impl::getSupportedServiceNames_Static( ) * @param xMgr service manager to if the components needs other component instances */ Reference< XInterface > SAL_CALL LangGuess_Impl_create( - Reference< XComponentContext > const & xContext ) + Reference< XComponentContext > const & ) { - return static_cast< ::cppu::OWeakObject * >( new LangGuess_Impl(xContext) ); + return static_cast< ::cppu::OWeakObject * >( new LangGuess_Impl ); } //#### EXPORTED ### functions to allow for registration and creation of the UNO component diff --git a/linguistic/source/defs.hxx b/linguistic/source/defs.hxx index ab86dfb..213f812 100644 --- a/linguistic/source/defs.hxx +++ b/linguistic/source/defs.hxx @@ -73,8 +73,6 @@ struct LangSvcEntries_Spell : public LangSvcEntries struct LangSvcEntries_Grammar : public LangSvcEntries { - css::uno::Sequence< css::uno::Reference< css::linguistic2::XProofreader > > aSvcRefs; - LangSvcEntries_Grammar() : LangSvcEntries() {} explicit LangSvcEntries_Grammar( const OUString &rSvcImplName ) : LangSvcEntries( rSvcImplName ) {} }; diff --git a/lotuswordpro/source/filter/LotusWordProImportFilter.hxx b/lotuswordpro/source/filter/LotusWordProImportFilter.hxx index e2a953c..0babf81 100644 --- a/lotuswordpro/source/filter/LotusWordProImportFilter.hxx +++ b/lotuswordpro/source/filter/LotusWordProImportFilter.hxx @@ -48,7 +48,6 @@ protected: css::uno::Reference< css::uno::XComponentContext > mxContext; css::uno::Reference< css::lang::XComponent > mxDoc; OUString msFilterName; - css::uno::Reference< css::xml::sax::XDocumentHandler > mxHandler; bool SAL_CALL importImpl( const css::uno::Sequence< css::beans::PropertyValue >& aDescriptor ) throw (css::uno::RuntimeException, std::exception); diff --git a/lotuswordpro/source/filter/lwpbulletstylemgr.hxx b/lotuswordpro/source/filter/lwpbulletstylemgr.hxx index 98a83ab..878b2c3 100644 --- a/lotuswordpro/source/filter/lwpbulletstylemgr.hxx +++ b/lotuswordpro/source/filter/lwpbulletstylemgr.hxx @@ -97,7 +97,6 @@ private: bool m_bContinue; bool m_bIsBulletSkipped; LwpObjectID m_aCurrentNumberingID; - std::unique_ptr<LwpNumberingOverride> m_pCurrentNumOverride; }; inline void LwpBulletStyleMgr::SetFoundry(LwpFoundry* pFoundry) diff --git a/mysqlc/source/mysqlc_connection.hxx b/mysqlc/source/mysqlc_connection.hxx index 78ccd0d..a41f349 100644 --- a/mysqlc/source/mysqlc_connection.hxx +++ b/mysqlc/source/mysqlc_connection.hxx @@ -104,7 +104,6 @@ namespace connectivity // of all the Statement objects // for this Connection - rtl::OUString m_sUser; // the user name MysqlCDriver& m_rDriver; // Pointer to the owning driver object sql::Driver* cppDriver; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits