[Libreoffice-commits] core.git: svtools/inc

Noel Grandin (via logerrit) logerrit at kemper.freedesktop.org
Sat Jan 11 06:40:44 UTC 2020


 svtools/inc/table/defaultinputhandler.hxx |    2 +-
 svtools/inc/table/gridtablerenderer.hxx   |    2 +-
 svtools/inc/table/tablecontrol.hxx        |    2 +-
 svtools/inc/uitest/uiobject.hxx           |    4 ++--
 4 files changed, 5 insertions(+), 5 deletions(-)

New commits:
commit 0b532c898d8c5d350d46be3f04bf397de256e323
Author:     Noel Grandin <noel.grandin at collabora.co.uk>
AuthorDate: Fri Jan 10 15:13:39 2020 +0200
Commit:     Noel Grandin <noel.grandin at collabora.co.uk>
CommitDate: Sat Jan 11 07:40:11 2020 +0100

    loplugin:finalclasses in svtools
    
    Change-Id: Ie4fe41bffc7e10b1214b426bb2ed0384a294da3e
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86548
    Tested-by: Jenkins
    Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>

diff --git a/svtools/inc/table/defaultinputhandler.hxx b/svtools/inc/table/defaultinputhandler.hxx
index 69cd0bf45bed..3b27d86fc268 100644
--- a/svtools/inc/table/defaultinputhandler.hxx
+++ b/svtools/inc/table/defaultinputhandler.hxx
@@ -33,7 +33,7 @@ namespace svt { namespace table
 
     //= DefaultInputHandler
 
-    class DefaultInputHandler : public ITableInputHandler
+    class DefaultInputHandler final : public ITableInputHandler
     {
     private:
         ::std::unique_ptr< DefaultInputHandler_Impl > m_pImpl;
diff --git a/svtools/inc/table/gridtablerenderer.hxx b/svtools/inc/table/gridtablerenderer.hxx
index a40485227755..3c92c340202f 100644
--- a/svtools/inc/table/gridtablerenderer.hxx
+++ b/svtools/inc/table/gridtablerenderer.hxx
@@ -39,7 +39,7 @@ namespace svt { namespace table
         This class is able to paint a table grid, table headers, and cell
         backgrounds according to the selected/active state of cells.
     */
-    class GridTableRenderer : public ITableRenderer
+    class GridTableRenderer final : public ITableRenderer
     {
     private:
         ::std::unique_ptr< GridTableRenderer_Impl >   m_pImpl;
diff --git a/svtools/inc/table/tablecontrol.hxx b/svtools/inc/table/tablecontrol.hxx
index ae5db552b108..6f4d1c43cde2 100644
--- a/svtools/inc/table/tablecontrol.hxx
+++ b/svtools/inc/table/tablecontrol.hxx
@@ -51,7 +51,7 @@ namespace svt { namespace table
         cell).
         The control supports accessibility, this is encapsulated in IAccessibleTable
     */
-    class TableControl : public Control, public vcl::table::IAccessibleTable
+    class TableControl final : public Control, public vcl::table::IAccessibleTable
     {
     private:
         std::shared_ptr<TableControl_Impl>            m_pImpl;
diff --git a/svtools/inc/uitest/uiobject.hxx b/svtools/inc/uitest/uiobject.hxx
index c1a2ecf1f9f5..2fcc486fa892 100644
--- a/svtools/inc/uitest/uiobject.hxx
+++ b/svtools/inc/uitest/uiobject.hxx
@@ -12,7 +12,7 @@
 
 class ValueSet;
 
-class ValueSetUIObject : public WindowUIObject
+class ValueSetUIObject final : public WindowUIObject
 {
 private:
     VclPtr<ValueSet> mxValueSet;
@@ -29,7 +29,7 @@ public:
 
     virtual OUString get_action(VclEventId nEvent) const override;
 
-protected:
+private:
     virtual OUString get_name() const override;
 };
 


More information about the Libreoffice-commits mailing list