diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-10-05 10:25:29 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-10-05 15:07:23 +0200 |
commit | 2bdf80be4c822378ba101703e4051a37c8f2ad41 (patch) | |
tree | 158da830eb78da0b9adf6db850fca80a53571428 /include | |
parent | b6d6591fafb8ad2e59a27ff1ac6b234d879b4cf7 (diff) |
loplugin:finalclasses in unotools..vbahelper
Change-Id: I9350f9d37eaba99a1d74e103c969a9dcfe795497
Reviewed-on: https://gerrit.libreoffice.org/43160
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r-- | include/unotools/accessiblerelationsethelper.hxx | 6 | ||||
-rw-r--r-- | include/unotools/accessiblestatesethelper.hxx | 6 | ||||
-rw-r--r-- | include/vbahelper/vbacollectionimpl.hxx | 1 | ||||
-rw-r--r-- | include/vbahelper/vbahelper.hxx | 1 | ||||
-rw-r--r-- | include/vbahelper/vbashaperange.hxx | 1 | ||||
-rw-r--r-- | include/vbahelper/vbashapes.hxx | 1 |
6 files changed, 4 insertions, 12 deletions
diff --git a/include/unotools/accessiblerelationsethelper.hxx b/include/unotools/accessiblerelationsethelper.hxx index d49e1dbb5ac7..bbbefcd2b1ff 100644 --- a/include/unotools/accessiblerelationsethelper.hxx +++ b/include/unotools/accessiblerelationsethelper.hxx @@ -51,7 +51,7 @@ public: //===== internal ======================================================== AccessibleRelationSetHelper (); AccessibleRelationSetHelper (const AccessibleRelationSetHelper& rHelper); -protected: +private: virtual ~AccessibleRelationSetHelper() override; public: @@ -124,11 +124,9 @@ public: virtual css::uno::Sequence<sal_Int8> SAL_CALL getImplementationId() override; -protected: +private: /// Mutex guarding this object. ::osl::Mutex maMutex; - -private: /// The implementation of this helper interface. std::unique_ptr<AccessibleRelationSetHelperImpl> mpHelperImpl; }; diff --git a/include/unotools/accessiblestatesethelper.hxx b/include/unotools/accessiblestatesethelper.hxx index a9cd22b9e282..4091153df059 100644 --- a/include/unotools/accessiblestatesethelper.hxx +++ b/include/unotools/accessiblestatesethelper.hxx @@ -62,7 +62,7 @@ public: AccessibleStateSetHelper ( const sal_Int64 _nInitialStates ); AccessibleStateSetHelper ( const AccessibleStateSetHelper& rHelper ); -protected: +private: virtual ~AccessibleStateSetHelper() override; public: @@ -135,11 +135,9 @@ public: virtual css::uno::Sequence<sal_Int8> SAL_CALL getImplementationId() override; -protected: +private: /// Mutex guarding this object. ::osl::Mutex maMutex; - -private: /// The implementation of this helper interface. std::unique_ptr<AccessibleStateSetHelperImpl> mpHelperImpl; }; diff --git a/include/vbahelper/vbacollectionimpl.hxx b/include/vbahelper/vbacollectionimpl.hxx index 94afa6daee1a..790e68f86907 100644 --- a/include/vbahelper/vbacollectionimpl.hxx +++ b/include/vbahelper/vbacollectionimpl.hxx @@ -172,7 +172,6 @@ private: } }; -protected: XNamedVec mXNamedVec; typename XNamedVec::iterator cachePos; public: diff --git a/include/vbahelper/vbahelper.hxx b/include/vbahelper/vbahelper.hxx index c007257e64c3..3643874ef5d5 100644 --- a/include/vbahelper/vbahelper.hxx +++ b/include/vbahelper/vbahelper.hxx @@ -176,7 +176,6 @@ public: class VBAHELPER_DLLPUBLIC ShapeHelper { -protected: css::uno::Reference< css::drawing::XShape > xShape; public: /// @throws css::script::BasicErrorException diff --git a/include/vbahelper/vbashaperange.hxx b/include/vbahelper/vbashaperange.hxx index 9a6a798c4cb0..89cde7643125 100644 --- a/include/vbahelper/vbashaperange.hxx +++ b/include/vbahelper/vbashaperange.hxx @@ -56,7 +56,6 @@ class VBAHELPER_DLLPUBLIC ScVbaShapeRange : public ScVbaShapeRange_BASE private: css::uno::Reference< css::drawing::XDrawPage > m_xDrawPage; css::uno::Reference< css::drawing::XShapes > m_xShapes; -protected: css::uno::Reference< css::frame::XModel > m_xModel; virtual OUString getServiceImplName() override; virtual css::uno::Sequence<OUString> getServiceNames() override; diff --git a/include/vbahelper/vbashapes.hxx b/include/vbahelper/vbashapes.hxx index e933cc57da59..3c956c10eb37 100644 --- a/include/vbahelper/vbashapes.hxx +++ b/include/vbahelper/vbashapes.hxx @@ -58,7 +58,6 @@ private: css::uno::Reference< css::drawing::XDrawPage > m_xDrawPage; sal_Int32 m_nNewShapeCount; void initBaseCollection(); -protected: css::uno::Reference< css::frame::XModel > m_xModel; virtual OUString getServiceImplName() override; virtual css::uno::Sequence<OUString> getServiceNames() override; |