summaryrefslogtreecommitdiff
path: root/connectivity/source/drivers/mozab
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-12-23 08:13:30 +0200
committerNoel Grandin <noel@peralex.com>2015-12-23 08:13:54 +0200
commitdaa90e38cc85664be743ad1ef19a9c531b0b2b17 (patch)
tree7226fe780e333ddbedab913f8075859f50945f5e /connectivity/source/drivers/mozab
parent4012390e0549e8cdc48e566608cad2c36e2df44e (diff)
loplugin:unusedfields in connectivity
Change-Id: I32226b6959b2bfd316de6ed93b070b68ad875562
Diffstat (limited to 'connectivity/source/drivers/mozab')
-rw-r--r--connectivity/source/drivers/mozab/bootstrap/MMozillaBootstrap.cxx11
-rw-r--r--connectivity/source/drivers/mozab/bootstrap/MMozillaBootstrap.hxx5
2 files changed, 6 insertions, 10 deletions
diff --git a/connectivity/source/drivers/mozab/bootstrap/MMozillaBootstrap.cxx b/connectivity/source/drivers/mozab/bootstrap/MMozillaBootstrap.cxx
index 25e2cc310699..d1a9b7ede5d1 100644
--- a/connectivity/source/drivers/mozab/bootstrap/MMozillaBootstrap.cxx
+++ b/connectivity/source/drivers/mozab/bootstrap/MMozillaBootstrap.cxx
@@ -36,21 +36,20 @@ using ::com::sun::star::lang::XMultiServiceFactory;
static MozillaBootstrap *pMozillaBootstrap=nullptr;
static Reference<XMozillaBootstrap> xMozillaBootstrap;
-extern "C" SAL_DLLPUBLIC_EXPORT void* SAL_CALL OMozillaBootstrap_CreateInstance(const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& _rxFactory)
+extern "C" SAL_DLLPUBLIC_EXPORT void* SAL_CALL OMozillaBootstrap_CreateInstance(const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& )
{
if (!pMozillaBootstrap)
{
- pMozillaBootstrap=new connectivity::mozab::MozillaBootstrap( _rxFactory );
+ pMozillaBootstrap=new connectivity::mozab::MozillaBootstrap;
pMozillaBootstrap->Init();
xMozillaBootstrap = pMozillaBootstrap;
}
return pMozillaBootstrap;
}
-MozillaBootstrap::MozillaBootstrap(
- const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& _rxFactory)
- : OMozillaBootstrap_BASE(m_aMutex), m_xMSFactory( _rxFactory ),
- m_ProfileAccess(nullptr), m_ProfileManager(nullptr)
+MozillaBootstrap::MozillaBootstrap()
+ : OMozillaBootstrap_BASE(m_aMutex),
+ m_ProfileAccess(nullptr)
{
}
diff --git a/connectivity/source/drivers/mozab/bootstrap/MMozillaBootstrap.hxx b/connectivity/source/drivers/mozab/bootstrap/MMozillaBootstrap.hxx
index aa9df938c22a..e887aec00910 100644
--- a/connectivity/source/drivers/mozab/bootstrap/MMozillaBootstrap.hxx
+++ b/connectivity/source/drivers/mozab/bootstrap/MMozillaBootstrap.hxx
@@ -38,17 +38,14 @@ namespace connectivity
class MozillaBootstrap : public OMozillaBootstrap_BASE
{
protected:
- const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > m_xMSFactory;
-
::osl::Mutex m_aMutex; // mutex is need to control member access
virtual ~MozillaBootstrap();
protected:
ProfileAccess * m_ProfileAccess;
- ProfileManager * m_ProfileManager;
public:
void Init();
- explicit MozillaBootstrap(const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& _rxFactory);
+ MozillaBootstrap();
// OComponentHelper
virtual void SAL_CALL disposing() override;