summaryrefslogtreecommitdiff
path: root/framework/inc/helper/ocomponentenumeration.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-11-01 15:11:01 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-11-02 07:41:11 +0100
commit27d75c3986a257c121d6612413a4d1f59cd1425d (patch)
tree4433653012f213d2f4a6ec178bac6e1e3df0e0bb /framework/inc/helper/ocomponentenumeration.hxx
parent270596b0e98ee32f1d4224751a8be51a4af9ac91 (diff)
loplugin:finalclasses in framework
Change-Id: Ic060a8ec60c1209511c376f31e2dc45a48973294 Reviewed-on: https://gerrit.libreoffice.org/44166 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'framework/inc/helper/ocomponentenumeration.hxx')
-rw-r--r--framework/inc/helper/ocomponentenumeration.hxx8
1 files changed, 2 insertions, 6 deletions
diff --git a/framework/inc/helper/ocomponentenumeration.hxx b/framework/inc/helper/ocomponentenumeration.hxx
index d0e801270fdb..3f30a2ef2b75 100644
--- a/framework/inc/helper/ocomponentenumeration.hxx
+++ b/framework/inc/helper/ocomponentenumeration.hxx
@@ -48,7 +48,7 @@ namespace framework{
@threadsafe yes
*//*-*************************************************************************************************************/
-class OComponentEnumeration : public ::cppu::WeakImplHelper< css::container::XEnumeration,css::lang::XEventListener >
+class OComponentEnumeration final : public ::cppu::WeakImplHelper< css::container::XEnumeration,css::lang::XEventListener >
{
// public methods
@@ -112,7 +112,7 @@ class OComponentEnumeration : public ::cppu::WeakImplHelper< css::container::X
// protected methods
- protected:
+ private:
/*-****************************************************************************************************
@short standard destructor
@@ -138,8 +138,6 @@ class OComponentEnumeration : public ::cppu::WeakImplHelper< css::container::X
void impl_resetObject();
- private:
-
// debug methods
// (should be private everyway!)
@@ -155,8 +153,6 @@ class OComponentEnumeration : public ::cppu::WeakImplHelper< css::container::X
sal_True otherway
*//*-*****************************************************************************************************/
- private:
-
sal_uInt32 m_nPosition; /// current position in enumeration
std::vector< css::uno::Reference< css::lang::XComponent > > m_seqComponents; /// list of current components