[Libreoffice-commits] core.git: dbaccess/source mysqlc/source svx/source xmlhelp/source

Noel Grandin noel.grandin at collabora.co.uk
Thu Nov 17 09:20:27 UTC 2016


 dbaccess/source/ext/macromigration/macromigrationwizard.cxx |    2 --
 mysqlc/source/mysqlc_statement.cxx                          |    1 -
 mysqlc/source/mysqlc_statement.hxx                          |    2 +-
 svx/source/inc/svxpixelctlaccessiblecontext.hxx             |    2 --
 xmlhelp/source/cxxhelp/provider/provider.hxx                |    2 --
 5 files changed, 1 insertion(+), 8 deletions(-)

New commits:
commit 401d07f31fde6992125b498fc2ac798a6523ca26
Author: Noel Grandin <noel.grandin at collabora.co.uk>
Date:   Thu Nov 17 11:19:24 2016 +0200

    loplugin:datamembershadow
    
    Change-Id: I0206905ce95467a560f8ed24db4403df07d3680e

diff --git a/dbaccess/source/ext/macromigration/macromigrationwizard.cxx b/dbaccess/source/ext/macromigration/macromigrationwizard.cxx
index 93085c9..e92f538 100644
--- a/dbaccess/source/ext/macromigration/macromigrationwizard.cxx
+++ b/dbaccess/source/ext/macromigration/macromigrationwizard.cxx
@@ -89,14 +89,12 @@ namespace dbmm
         virtual VclPtr<Dialog> createDialog( vcl::Window* _pParent ) override;
 
     private:
-        Reference<XComponentContext>          m_aContext;
         Reference< XOfficeDatabaseDocument >    m_xDocument;
     };
 
     // MacroMigrationDialogService
     MacroMigrationDialogService::MacroMigrationDialogService( const Reference< XComponentContext >& _rxContext )
         :MacroMigrationDialogService_Base( _rxContext )
-        ,m_aContext( _rxContext )
     {
         m_bNeedInitialization = true;
     }
diff --git a/mysqlc/source/mysqlc_statement.cxx b/mysqlc/source/mysqlc_statement.cxx
index ffa96ef..371f011 100644
--- a/mysqlc/source/mysqlc_statement.cxx
+++ b/mysqlc/source/mysqlc_statement.cxx
@@ -59,7 +59,6 @@ OCommonStatement::OCommonStatement(OConnection* _pConnection, sql::Statement *_c
     ,OStatement_CBase( static_cast<cppu::OWeakObject*>(_pConnection), this )
     ,m_pConnection(_pConnection)
     ,cppStatement(_cppStatement)
-    ,rBHelper(OCommonStatement_IBase::rBHelper)
 {
     OSL_TRACE("OCommonStatement::OCommonStatement");
     m_pConnection->acquire();
diff --git a/mysqlc/source/mysqlc_statement.hxx b/mysqlc/source/mysqlc_statement.hxx
index 18b63aa..fbfe807 100644
--- a/mysqlc/source/mysqlc_statement.hxx
+++ b/mysqlc/source/mysqlc_statement.hxx
@@ -99,7 +99,7 @@ namespace connectivity
             OCommonStatement(OConnection* _pConnection, sql::Statement *_cppStatement);
 
         public:
-            ::cppu::OBroadcastHelper& rBHelper;
+            using OCommonStatement_IBase::rBHelper;
             using OCommonStatement_IBase::operator css::uno::Reference< css::uno::XInterface >;
 
             // OComponentHelper
diff --git a/svx/source/inc/svxpixelctlaccessiblecontext.hxx b/svx/source/inc/svxpixelctlaccessiblecontext.hxx
index b4855eb2..68a379f 100644
--- a/svx/source/inc/svxpixelctlaccessiblecontext.hxx
+++ b/svx/source/inc/svxpixelctlaccessiblecontext.hxx
@@ -72,8 +72,6 @@ class SvxPixelCtlAccessibleChild :
     Rectangle*  mpBoundingBox;
     /// index of child in parent
     long                                mnIndexInParent;
-    /// Mutex guarding this object.
-    ::osl::Mutex                        m_aMutex;
 public:
     SvxPixelCtlAccessibleChild(
                 SvxPixelCtl& rWindow,
diff --git a/xmlhelp/source/cxxhelp/provider/provider.hxx b/xmlhelp/source/cxxhelp/provider/provider.hxx
index 3b62b69..febcc46 100644
--- a/xmlhelp/source/cxxhelp/provider/provider.hxx
+++ b/xmlhelp/source/cxxhelp/provider/provider.hxx
@@ -144,8 +144,6 @@ namespace chelp {
         // Non-interface methods.
 
     private:
-
-        osl::Mutex     m_aMutex;
         bool           isInitialized;
         OUString  m_aScheme;
         Databases*     m_pDatabases;


More information about the Libreoffice-commits mailing list