[Libreoffice-commits] core.git: connectivity/source

Stephan Bergmann sbergman at redhat.com
Mon Oct 17 06:56:39 UTC 2016


 connectivity/source/drivers/ado/AColumn.cxx |   12 ------------
 connectivity/source/drivers/ado/AGroup.cxx  |   12 ------------
 connectivity/source/drivers/ado/AIndex.cxx  |   11 -----------
 connectivity/source/drivers/ado/AKey.cxx    |   12 ------------
 connectivity/source/drivers/ado/ATable.cxx  |   10 ----------
 connectivity/source/drivers/ado/AUser.cxx   |   11 -----------
 connectivity/source/drivers/ado/AView.cxx   |   11 -----------
 connectivity/source/inc/ado/AColumn.hxx     |    2 --
 connectivity/source/inc/ado/AGroup.hxx      |    2 --
 connectivity/source/inc/ado/AIndex.hxx      |    2 --
 connectivity/source/inc/ado/AKey.hxx        |    2 --
 connectivity/source/inc/ado/ATable.hxx      |    2 --
 connectivity/source/inc/ado/AUser.hxx       |    3 ---
 connectivity/source/inc/ado/AView.hxx       |    2 --
 14 files changed, 94 deletions(-)

New commits:
commit 058abc7cfed47b6f7a235df16080ebb5197c8cc5
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Mon Oct 17 08:56:14 2016 +0200

    loplugin:unnecessaryoverride
    
    Change-Id: Id90a0a3334f4551b926a240b2e06a34337188c07

diff --git a/connectivity/source/drivers/ado/AColumn.cxx b/connectivity/source/drivers/ado/AColumn.cxx
index 6027041..310ec67 100644
--- a/connectivity/source/drivers/ado/AColumn.cxx
+++ b/connectivity/source/drivers/ado/AColumn.cxx
@@ -259,16 +259,4 @@ WpADOColumn OAdoColumn::getColumnImpl() const
     return m_aColumn;
 }
 
-
-void SAL_CALL OAdoColumn::acquire() throw()
-{
-    OColumn_ADO::acquire();
-}
-
-void SAL_CALL OAdoColumn::release() throw()
-{
-    OColumn_ADO::release();
-}
-
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/drivers/ado/AGroup.cxx b/connectivity/source/drivers/ado/AGroup.cxx
index 8318eeb..2ff16b1 100644
--- a/connectivity/source/drivers/ado/AGroup.cxx
+++ b/connectivity/source/drivers/ado/AGroup.cxx
@@ -162,16 +162,4 @@ void SAL_CALL OAdoGroup::revokePrivileges( const OUString& objName, sal_Int32 ob
     m_aGroup.SetPermissions(objName,MapObjectType(objType),adAccessDeny,Map2Right(objPrivileges));
 }
 
-
-void SAL_CALL OAdoGroup::acquire() throw()
-{
-    OGroup_ADO::acquire();
-}
-
-void SAL_CALL OAdoGroup::release() throw()
-{
-    OGroup_ADO::release();
-}
-
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/drivers/ado/AIndex.cxx b/connectivity/source/drivers/ado/AIndex.cxx
index 0e8dd81..d5b4417 100644
--- a/connectivity/source/drivers/ado/AIndex.cxx
+++ b/connectivity/source/drivers/ado/AIndex.cxx
@@ -130,15 +130,4 @@ void SAL_CALL OAdoIndex::setFastPropertyValue_NoBroadcast(sal_Int32 nHandle,cons
     sdbcx::OIndex::setFastPropertyValue_NoBroadcast(nHandle,rValue);
 }
 
-void SAL_CALL OAdoIndex::acquire() throw()
-{
-    sdbcx::OIndex::acquire();
-}
-
-void SAL_CALL OAdoIndex::release() throw()
-{
-    sdbcx::OIndex::release();
-}
-
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/drivers/ado/AKey.cxx b/connectivity/source/drivers/ado/AKey.cxx
index a569b83..8c3657d 100644
--- a/connectivity/source/drivers/ado/AKey.cxx
+++ b/connectivity/source/drivers/ado/AKey.cxx
@@ -142,16 +142,4 @@ void OAdoKey::setFastPropertyValue_NoBroadcast(sal_Int32 nHandle,const Any& rVal
     OKey_ADO::setFastPropertyValue_NoBroadcast(nHandle,rValue);
 }
 
-
-void SAL_CALL OAdoKey::acquire() throw()
-{
-    OKey_ADO::acquire();
-}
-
-void SAL_CALL OAdoKey::release() throw()
-{
-    OKey_ADO::release();
-}
-
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/drivers/ado/ATable.cxx b/connectivity/source/drivers/ado/ATable.cxx
index 2aacc86..23ddfff 100644
--- a/connectivity/source/drivers/ado/ATable.cxx
+++ b/connectivity/source/drivers/ado/ATable.cxx
@@ -229,16 +229,6 @@ void OAdoTable::setFastPropertyValue_NoBroadcast(sal_Int32 nHandle,const Any& rV
     OTable_TYPEDEF::setFastPropertyValue_NoBroadcast(nHandle,rValue);
 }
 
-void SAL_CALL OAdoTable::acquire() throw()
-{
-    OTable_TYPEDEF::acquire();
-}
-
-void SAL_CALL OAdoTable::release() throw()
-{
-    OTable_TYPEDEF::release();
-}
-
 OUString SAL_CALL OAdoTable::getName() throw(css::uno::RuntimeException)
 {
       return m_aTable.get_Name();
diff --git a/connectivity/source/drivers/ado/AUser.cxx b/connectivity/source/drivers/ado/AUser.cxx
index b219bcf..3894307 100644
--- a/connectivity/source/drivers/ado/AUser.cxx
+++ b/connectivity/source/drivers/ado/AUser.cxx
@@ -151,17 +151,6 @@ cppu::IPropertyArrayHelper & OUserExtend::getInfoHelper()
     return *OUserExtend_PROP::getArrayHelper();
 }
 
-
-void SAL_CALL OAdoUser::acquire() throw()
-{
-    OUser_TYPEDEF::acquire();
-}
-
-void SAL_CALL OAdoUser::release() throw()
-{
-    OUser_TYPEDEF::release();
-}
-
 sal_Int32 SAL_CALL OAdoUser::getPrivileges( const OUString& objName, sal_Int32 objType ) throw(SQLException, RuntimeException)
 {
     ::osl::MutexGuard aGuard(m_aMutex);
diff --git a/connectivity/source/drivers/ado/AView.cxx b/connectivity/source/drivers/ado/AView.cxx
index a419526..494e2dd 100644
--- a/connectivity/source/drivers/ado/AView.cxx
+++ b/connectivity/source/drivers/ado/AView.cxx
@@ -99,15 +99,4 @@ void OAdoView::getFastPropertyValue(Any& rValue,sal_Int32 nHandle) const
         OView_ADO::getFastPropertyValue(rValue,nHandle);
 }
 
-void SAL_CALL OAdoView::acquire() throw()
-{
-    OView_ADO::acquire();
-}
-
-void SAL_CALL OAdoView::release() throw()
-{
-    OView_ADO::release();
-}
-
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/inc/ado/AColumn.hxx b/connectivity/source/inc/ado/AColumn.hxx
index 969eed3..6dda866 100644
--- a/connectivity/source/inc/ado/AColumn.hxx
+++ b/connectivity/source/inc/ado/AColumn.hxx
@@ -48,8 +48,6 @@ namespace connectivity
             OAdoColumn(bool _bCase,OConnection* _pConnection);
             // ODescriptor
             virtual void construct() override;
-            virtual void SAL_CALL acquire() throw() override;
-            virtual void SAL_CALL release() throw() override;
             // css::lang::XUnoTunnel
             virtual sal_Int64 SAL_CALL getSomething( const css::uno::Sequence< sal_Int8 >& aIdentifier ) throw(css::uno::RuntimeException) override;
             static css::uno::Sequence< sal_Int8 > getUnoTunnelImplementationId();
diff --git a/connectivity/source/inc/ado/AGroup.hxx b/connectivity/source/inc/ado/AGroup.hxx
index fe1df7e..2d3655f 100644
--- a/connectivity/source/inc/ado/AGroup.hxx
+++ b/connectivity/source/inc/ado/AGroup.hxx
@@ -48,8 +48,6 @@ namespace connectivity
             OAdoGroup(OCatalog* _pParent,bool _bCase, ADOGroup* _pGroup=nullptr);
             OAdoGroup(OCatalog* _pParent,bool _bCase, const OUString& Name);
 
-            virtual void SAL_CALL acquire() throw() override;
-            virtual void SAL_CALL release() throw() override;
             // css::lang::XUnoTunnel
             virtual sal_Int64 SAL_CALL getSomething( const css::uno::Sequence< sal_Int8 >& aIdentifier ) throw(css::uno::RuntimeException) override;
             static css::uno::Sequence< sal_Int8 > getUnoTunnelImplementationId();
diff --git a/connectivity/source/inc/ado/AIndex.hxx b/connectivity/source/inc/ado/AIndex.hxx
index c8060b1..f01f92b 100644
--- a/connectivity/source/inc/ado/AIndex.hxx
+++ b/connectivity/source/inc/ado/AIndex.hxx
@@ -39,8 +39,6 @@ namespace connectivity
         public:
             virtual void refreshColumns() override;
         public:
-            virtual void SAL_CALL acquire() throw() override;
-            virtual void SAL_CALL release() throw() override;
             OAdoIndex(bool _bCase,  OConnection* _pConnection,ADOIndex* _pIndex);
             OAdoIndex(bool _bCase,  OConnection* _pConnection);
             // css::lang::XUnoTunnel
diff --git a/connectivity/source/inc/ado/AKey.hxx b/connectivity/source/inc/ado/AKey.hxx
index c44a9aa..499e36c 100644
--- a/connectivity/source/inc/ado/AKey.hxx
+++ b/connectivity/source/inc/ado/AKey.hxx
@@ -41,8 +41,6 @@ namespace connectivity
         public:
             virtual void refreshColumns() override;
         public:
-            virtual void SAL_CALL acquire() throw() override;
-            virtual void SAL_CALL release() throw() override;
             OAdoKey(bool _bCase,OConnection* _pConnection,ADOKey* _pKey);
             OAdoKey(bool _bCase,OConnection* _pConnection);
 
diff --git a/connectivity/source/inc/ado/ATable.hxx b/connectivity/source/inc/ado/ATable.hxx
index ca78826..e406985 100644
--- a/connectivity/source/inc/ado/ATable.hxx
+++ b/connectivity/source/inc/ado/ATable.hxx
@@ -60,8 +60,6 @@ namespace connectivity
             virtual sal_Int64 SAL_CALL getSomething( const css::uno::Sequence< sal_Int8 >& aIdentifier ) throw(css::uno::RuntimeException) override;
             static css::uno::Sequence< sal_Int8 > getUnoTunnelImplementationId();
 
-            virtual void SAL_CALL acquire() throw() override;
-            virtual void SAL_CALL release() throw() override;
             // XRename
             virtual void SAL_CALL rename( const OUString& newName ) throw(css::sdbc::SQLException, css::container::ElementExistException, css::uno::RuntimeException) override;
 
diff --git a/connectivity/source/inc/ado/AUser.hxx b/connectivity/source/inc/ado/AUser.hxx
index 3bd9255..5e29c3f 100644
--- a/connectivity/source/inc/ado/AUser.hxx
+++ b/connectivity/source/inc/ado/AUser.hxx
@@ -55,9 +55,6 @@ namespace connectivity
             // css::lang::XUnoTunnel
             virtual sal_Int64 SAL_CALL getSomething( const css::uno::Sequence< sal_Int8 >& aIdentifier ) throw(css::uno::RuntimeException) override;
             static css::uno::Sequence< sal_Int8 > getUnoTunnelImplementationId();
-            virtual void SAL_CALL acquire() throw() override;
-            virtual void SAL_CALL release() throw() override;
-
             // XUser
             virtual void SAL_CALL changePassword( const OUString& objPassword, const OUString& newPassword ) throw(css::sdbc::SQLException, css::uno::RuntimeException) override;
             // XAuthorizable
diff --git a/connectivity/source/inc/ado/AView.hxx b/connectivity/source/inc/ado/AView.hxx
index f6c2424..cb7ce04 100644
--- a/connectivity/source/inc/ado/AView.hxx
+++ b/connectivity/source/inc/ado/AView.hxx
@@ -46,8 +46,6 @@ namespace connectivity
             // css::lang::XUnoTunnel
             virtual sal_Int64 SAL_CALL getSomething( const css::uno::Sequence< sal_Int8 >& aIdentifier ) throw(css::uno::RuntimeException) override;
             static css::uno::Sequence< sal_Int8 > getUnoTunnelImplementationId();
-            virtual void SAL_CALL acquire() throw() override;
-            virtual void SAL_CALL release() throw() override;
 
             WpADOView getImpl() const { return m_aView;}
         };


More information about the Libreoffice-commits mailing list