summaryrefslogtreecommitdiff
path: root/lingucomponent
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 /lingucomponent
parentd6913850585eae90ea9179129fe7b60a2a4305ad (diff)
loplugin:unusedfields in lingu,lotuswordpro,mysqlc
Change-Id: I5866c8d95e04714e81a45e73bf00a430859a4327
Diffstat (limited to 'lingucomponent')
-rw-r--r--lingucomponent/source/hyphenator/hyphen/hyphenimp.hxx1
-rw-r--r--lingucomponent/source/languageguessing/guesslang.cxx12
2 files changed, 5 insertions, 8 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