include/svx/svdundo.hxx               |    2 +-
 include/svx/unodraw/SvxTableShape.hxx |    2 +-
 include/unotools/tempfile.hxx         |    2 +-
 include/vcl/toolkit/scrbar.hxx        |    2 +-
 include/vcl/uitest/uiobject.hxx       |    2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)

New commits:
commit 4ad6fb09ba98d19d0cc3385b34ac8565d8620341
Author:     Noel Grandin <noel.gran...@collabora.co.uk>
AuthorDate: Wed Apr 19 12:31:02 2023 +0200
Commit:     Noel Grandin <noel.gran...@collabora.co.uk>
CommitDate: Wed Apr 19 16:07:29 2023 +0200

    loplugin:finalclasses
    
    Change-Id: Ic2599da33b698400b6e52a7f666508c8cd947321
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/150606
    Tested-by: Jenkins
    Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk>

diff --git a/include/svx/svdundo.hxx b/include/svx/svdundo.hxx
index 5b0c9a6fd869..f198a3c3e554 100644
--- a/include/svx/svdundo.hxx
+++ b/include/svx/svdundo.hxx
@@ -230,7 +230,7 @@ public:
 };
 
 // Diagram ModelData changes
-class SVXCORE_DLLPUBLIC SdrUndoDiagramModelData : public SdrUndoObj
+class SVXCORE_DLLPUBLIC SdrUndoDiagramModelData final : public SdrUndoObj
 {
     std::shared_ptr< svx::diagram::DiagramDataState > m_aStartState;
     std::shared_ptr< svx::diagram::DiagramDataState > m_aEndState;
diff --git a/include/svx/unodraw/SvxTableShape.hxx 
b/include/svx/unodraw/SvxTableShape.hxx
index 518d3ac2c06a..1c88ba98ce3e 100644
--- a/include/svx/unodraw/SvxTableShape.hxx
+++ b/include/svx/unodraw/SvxTableShape.hxx
@@ -22,7 +22,7 @@
 #include <svx/svxdllapi.h>
 #include <svx/unoshape.hxx>
 
-class SVXCORE_DLLPUBLIC SvxTableShape : public SvxShape
+class SVXCORE_DLLPUBLIC SvxTableShape final : public SvxShape
 {
 protected:
     // override these for special property handling in subcasses. Return true 
if property is handled
diff --git a/include/unotools/tempfile.hxx b/include/unotools/tempfile.hxx
index 168659d26359..a8bbcd747ff7 100644
--- a/include/unotools/tempfile.hxx
+++ b/include/unotools/tempfile.hxx
@@ -197,7 +197,7 @@ typedef ::cppu::WeakImplHelper<
     , css::io::XInputStream
     , css::io::XOutputStream
     , css::io::XTruncate> TempFileFastService_Base;
-class UNOTOOLS_DLLPUBLIC TempFileFastService : public TempFileFastService_Base
+class UNOTOOLS_DLLPUBLIC TempFileFastService final : public 
TempFileFastService_Base
 {
     std::optional<utl::TempFileFast> mpTempFile;
     std::mutex maMutex;
diff --git a/include/vcl/toolkit/scrbar.hxx b/include/vcl/toolkit/scrbar.hxx
index 4844b58cd3cb..6981b64fa622 100644
--- a/include/vcl/toolkit/scrbar.hxx
+++ b/include/vcl/toolkit/scrbar.hxx
@@ -30,7 +30,7 @@
 
 struct ImplScrollBarData;
 
-class VCL_DLLPUBLIC ScrollBar : public Control
+class VCL_DLLPUBLIC ScrollBar final : public Control
                               , public Scrollable
 {
 private:
diff --git a/include/vcl/uitest/uiobject.hxx b/include/vcl/uitest/uiobject.hxx
index c9a932ec672f..293471add9b5 100644
--- a/include/vcl/uitest/uiobject.hxx
+++ b/include/vcl/uitest/uiobject.hxx
@@ -235,7 +235,7 @@ private:
     virtual OUString get_name() const override;
 };
 
-class ExpanderUIObject : public WindowUIObject
+class ExpanderUIObject final : public WindowUIObject
 {
     VclPtr<VclExpander> mxExpander;
 

Reply via email to