summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-12-22 09:58:45 +0200
committerNoel Grandin <noel@peralex.com>2015-12-22 10:16:36 +0200
commit1b80ad7246db991596f44ca58c4e4bd1e387e524 (patch)
tree7d9b9422aafb130fd2cbe75fadef21145cfebbd0
parentd6913850585eae90ea9179129fe7b60a2a4305ad (diff)
loplugin:unusedfields in lingu,lotuswordpro,mysqlc
Change-Id: I5866c8d95e04714e81a45e73bf00a430859a4327
-rw-r--r--lingucomponent/source/hyphenator/hyphen/hyphenimp.hxx1
-rw-r--r--lingucomponent/source/languageguessing/guesslang.cxx12
-rw-r--r--linguistic/source/defs.hxx2
-rw-r--r--lotuswordpro/source/filter/LotusWordProImportFilter.hxx1
-rw-r--r--lotuswordpro/source/filter/lwpbulletstylemgr.hxx1
-rw-r--r--mysqlc/source/mysqlc_connection.hxx1
6 files changed, 5 insertions, 13 deletions
diff --git a/lingucomponent/source/hyphenator/hyphen/hyphenimp.hxx b/lingucomponent/source/hyphenator/hyphen/hyphenimp.hxx
index 73fc6280edf6..e59ab94497af 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 0cc0054e4b49..2ccea80002d2 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 ab86dfb7b1df..213f812a1c05 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 e2a953cb251d..0babf8123f45 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 98a83ab2733d..878b2c35c871 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 78ccd0d3d97d..a41f3499cabf 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;