summaryrefslogtreecommitdiff
path: root/include/connectivity/conncleanup.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-10-29 08:17:21 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-10-29 08:35:36 +0100
commit01b1442e2b866c975565cb6d585ae394e9b3cb9f (patch)
tree8ac64839b74ed1f9749f9ae2cf654e6a4583db49 /include/connectivity/conncleanup.hxx
parentcaa4c416675f9d5f6e5006b551f8534088c5bdf1 (diff)
loplugin:finalclasses in connectivity
Change-Id: I8f85331338247d4b144c5d5487c2fb59c5237dff Reviewed-on: https://gerrit.libreoffice.org/81637 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/connectivity/conncleanup.hxx')
-rw-r--r--include/connectivity/conncleanup.hxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/connectivity/conncleanup.hxx b/include/connectivity/conncleanup.hxx
index c7966e2fbd98..d243e384291b 100644
--- a/include/connectivity/conncleanup.hxx
+++ b/include/connectivity/conncleanup.hxx
@@ -40,7 +40,7 @@ namespace dbtools
css::sdbc::XRowSetListener
> OAutoConnectionDisposer_Base;
- class OOO_DLLPUBLIC_DBTOOLS OAutoConnectionDisposer : public OAutoConnectionDisposer_Base
+ class OOO_DLLPUBLIC_DBTOOLS OAutoConnectionDisposer final : public OAutoConnectionDisposer_Base
{
css::uno::Reference< css::sdbc::XConnection >
m_xOriginalConnection;
@@ -59,7 +59,7 @@ namespace dbtools
const css::uno::Reference< css::sdbc::XConnection >& _rxConnection
);
- protected:
+ private:
// XPropertyChangeListener
virtual void SAL_CALL propertyChange( const css::beans::PropertyChangeEvent& _rEvent ) override;
@@ -71,7 +71,6 @@ namespace dbtools
virtual void SAL_CALL rowChanged( const css::lang::EventObject& event ) override;
virtual void SAL_CALL rowSetChanged( const css::lang::EventObject& event ) override;
- private:
void clearConnection();
void startRowSetListening();