[Libreoffice-commits] core.git: include/vbahelper

Noel Grandin (via logerrit) logerrit at kemper.freedesktop.org
Thu Oct 31 11:40:50 UTC 2019


 include/vbahelper/vbacollectionimpl.hxx |    4 ++--
 include/vbahelper/vbahelper.hxx         |    5 +++--
 include/vbahelper/vbapropvalue.hxx      |    2 +-
 include/vbahelper/vbareturntypes.hxx    |    2 +-
 include/vbahelper/vbashaperange.hxx     |    2 +-
 include/vbahelper/vbashapes.hxx         |    2 +-
 6 files changed, 9 insertions(+), 8 deletions(-)

New commits:
commit 32c53b465bc2052c2756f12294699fabae754756
Author:     Noel Grandin <noel.grandin at collabora.co.uk>
AuthorDate: Thu Oct 31 08:12:55 2019 +0200
Commit:     Noel Grandin <noel.grandin at collabora.co.uk>
CommitDate: Thu Oct 31 12:40:10 2019 +0100

    loplugin:finalclasses in vbahelper
    
    Change-Id: I4f940ef52a17a315b74cea0f0218e9a9a610e78b
    Reviewed-on: https://gerrit.libreoffice.org/81826
    Tested-by: Jenkins
    Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>

diff --git a/include/vbahelper/vbacollectionimpl.hxx b/include/vbahelper/vbacollectionimpl.hxx
index 26853ad9077c..f545bb5c48c8 100644
--- a/include/vbahelper/vbacollectionimpl.hxx
+++ b/include/vbahelper/vbacollectionimpl.hxx
@@ -66,7 +66,7 @@ typedef ::cppu::WeakImplHelper< css::container::XEnumeration > EnumerationHelper
     used to provide an enumeration from an index container with other objects
     (e.g. UNO objects) where construction of the VBA objects is needed first.
  */
-class VBAHELPER_DLLPUBLIC SimpleIndexAccessToEnumeration : public EnumerationHelper_BASE
+class VBAHELPER_DLLPUBLIC SimpleIndexAccessToEnumeration final : public EnumerationHelper_BASE
 {
 public:
     /// @throws css::uno::RuntimeException
@@ -144,7 +144,7 @@ public:
 
 
 template< typename OneIfc >
-class XNamedObjectCollectionHelper : public ::cppu::WeakImplHelper< css::container::XNameAccess,
+class XNamedObjectCollectionHelper final : public ::cppu::WeakImplHelper< css::container::XNameAccess,
                                                                     css::container::XIndexAccess,
                                                                     css::container::XEnumerationAccess >
 {
diff --git a/include/vbahelper/vbahelper.hxx b/include/vbahelper/vbahelper.hxx
index f32498ff0451..d130c4e6ea1c 100644
--- a/include/vbahelper/vbahelper.hxx
+++ b/include/vbahelper/vbahelper.hxx
@@ -191,7 +191,7 @@ public:
     void setTop(double _fTop);
 };
 
-class VBAHELPER_DLLPUBLIC ConcreteXShapeGeometryAttributes : public AbstractGeometryAttributes
+class VBAHELPER_DLLPUBLIC ConcreteXShapeGeometryAttributes final : public AbstractGeometryAttributes
 {
     std::unique_ptr< ShapeHelper > m_pShapeHelper;
 public:
@@ -209,7 +209,8 @@ public:
 
 #define VBA_LEFT "PositionX"
 #define VBA_TOP "PositionY"
-class VBAHELPER_DLLPUBLIC UserFormGeometryHelper : public AbstractGeometryAttributes
+
+class VBAHELPER_DLLPUBLIC UserFormGeometryHelper final : public AbstractGeometryAttributes
 {
 public:
     UserFormGeometryHelper(
diff --git a/include/vbahelper/vbapropvalue.hxx b/include/vbahelper/vbapropvalue.hxx
index 7c9e4bdda8ab..ee6443f08a34 100644
--- a/include/vbahelper/vbapropvalue.hxx
+++ b/include/vbahelper/vbapropvalue.hxx
@@ -41,7 +41,7 @@ protected:
 };
 
 
-class VBAHELPER_DLLPUBLIC ScVbaPropValue : public ::cppu::WeakImplHelper< ov::XPropValue >
+class VBAHELPER_DLLPUBLIC ScVbaPropValue final : public ::cppu::WeakImplHelper< ov::XPropValue >
 {
     PropListener* m_pListener;
 public:
diff --git a/include/vbahelper/vbareturntypes.hxx b/include/vbahelper/vbareturntypes.hxx
index 746107358214..7893a72cdbd8 100644
--- a/include/vbahelper/vbareturntypes.hxx
+++ b/include/vbahelper/vbareturntypes.hxx
@@ -43,7 +43,7 @@ namespace ooo
         };
 
         typedef DefaultReturnHelper< sal_Int32, ov::msforms::XReturnInteger > ReturnInteger_BASE;
-        class ReturnInteger : public ReturnInteger_BASE
+        class ReturnInteger final : public ReturnInteger_BASE
         {
             public:
             ReturnInteger( sal_Int32 nValue ) : ReturnInteger_BASE( nValue ){}
diff --git a/include/vbahelper/vbashaperange.hxx b/include/vbahelper/vbashaperange.hxx
index 4b8261ffa6cc..2560dbe99f5f 100644
--- a/include/vbahelper/vbashaperange.hxx
+++ b/include/vbahelper/vbashaperange.hxx
@@ -51,7 +51,7 @@ namespace ooo { namespace vba {
 
 typedef CollTestImplHelper< ov::msforms::XShapeRange > ScVbaShapeRange_BASE;
 
-class VBAHELPER_DLLPUBLIC ScVbaShapeRange : public ScVbaShapeRange_BASE
+class VBAHELPER_DLLPUBLIC ScVbaShapeRange final : public ScVbaShapeRange_BASE
 {
 private:
     css::uno::Reference< css::drawing::XDrawPage > m_xDrawPage;
diff --git a/include/vbahelper/vbashapes.hxx b/include/vbahelper/vbashapes.hxx
index 4a23b13d10c0..ad4dc93fbf20 100644
--- a/include/vbahelper/vbashapes.hxx
+++ b/include/vbahelper/vbashapes.hxx
@@ -51,7 +51,7 @@ namespace ooo { namespace vba {
 
 typedef CollTestImplHelper< ov::msforms::XShapes > ScVbaShapes_BASE;
 
-class VBAHELPER_DLLPUBLIC ScVbaShapes : public ScVbaShapes_BASE
+class VBAHELPER_DLLPUBLIC ScVbaShapes final : public ScVbaShapes_BASE
 {
 private:
     css::uno::Reference< css::drawing::XShapes > m_xShapes;


More information about the Libreoffice-commits mailing list