forms/source/inc/property.hxx                              |    2 +-
 include/cui/dlgname.hxx                                    |    6 +++---
 include/drawinglayer/processor2d/cairopixelprocessor2d.hxx |    2 +-
 include/sfx2/dinfdlg.hxx                                   |    2 +-
 include/xmloff/GradientStyle.hxx                           |    2 +-
 sc/source/filter/inc/formulabuffer.hxx                     |    2 +-
 sc/source/filter/inc/formulaparser.hxx                     |    2 +-
 sc/source/ui/inc/DrawModelBroadcaster.hxx                  |    2 +-
 svx/inc/sdr/properties/cellproperties.hxx                  |    4 ++--
 svx/inc/shapecollection.hxx                                |    2 +-
 vcl/inc/headless/CairoCommon.hxx                           |    2 +-
 vcl/inc/headless/SvpGraphicsBackend.hxx                    |    2 +-
 vcl/inc/unx/cairotextrender.hxx                            |    2 +-
 vcl/inc/unx/freetype_glyphcache.hxx                        |    2 +-
 14 files changed, 17 insertions(+), 17 deletions(-)

New commits:
commit 18446cdd6007679f227f192a606c86fe2eea1ef6
Author:     Noel Grandin <noel.gran...@collabora.co.uk>
AuthorDate: Wed Jul 5 16:06:46 2023 +0200
Commit:     Noel Grandin <noel.gran...@collabora.co.uk>
CommitDate: Wed Jul 5 21:39:51 2023 +0200

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

diff --git a/forms/source/inc/property.hxx b/forms/source/inc/property.hxx
index 54d19a03d319..00b2075ccebd 100644
--- a/forms/source/inc/property.hxx
+++ b/forms/source/inc/property.hxx
@@ -326,7 +326,7 @@ private:
 
 
 // a class implementing the comphelper::IPropertyInfoService
-class ConcreteInfoService : public ::comphelper::IPropertyInfoService
+class ConcreteInfoService final : public ::comphelper::IPropertyInfoService
 {
 public:
     virtual ~ConcreteInfoService() {}
diff --git a/include/cui/dlgname.hxx b/include/cui/dlgname.hxx
index 04fc5610e937..2ca8a8a55e29 100644
--- a/include/cui/dlgname.hxx
+++ b/include/cui/dlgname.hxx
@@ -23,7 +23,7 @@
 #include <vcl/weld.hxx>
 
 /// Dialog for editing a name
-class CUI_DLLPUBLIC SvxNameDialog : public weld::GenericDialogController
+class CUI_DLLPUBLIC SvxNameDialog final : public weld::GenericDialogController
 {
 private:
     std::unique_ptr<weld::Entry> m_xEdtName;
@@ -74,7 +74,7 @@ public:
 /** #i68101#
     Dialog for editing Object name
     plus uniqueness-callback-linkHandler */
-class SvxObjectNameDialog : public weld::GenericDialogController
+class SvxObjectNameDialog final : public weld::GenericDialogController
 {
 private:
     // name
@@ -101,7 +101,7 @@ public:
 
 /** #i68101#
     Dialog for editing Object Title and Description */
-class SvxObjectTitleDescDialog : public weld::GenericDialogController
+class SvxObjectTitleDescDialog final : public weld::GenericDialogController
 {
 private:
     // title
diff --git a/include/drawinglayer/processor2d/cairopixelprocessor2d.hxx 
b/include/drawinglayer/processor2d/cairopixelprocessor2d.hxx
index c940039abb66..2324b9f619e8 100644
--- a/include/drawinglayer/processor2d/cairopixelprocessor2d.hxx
+++ b/include/drawinglayer/processor2d/cairopixelprocessor2d.hxx
@@ -37,7 +37,7 @@ class SingleLinePrimitive2D;
 
 namespace drawinglayer::processor2d
 {
-class DRAWINGLAYER_DLLPUBLIC CairoPixelProcessor2D : public BaseProcessor2D
+class DRAWINGLAYER_DLLPUBLIC CairoPixelProcessor2D final : public 
BaseProcessor2D
 {
     // the modifiedColorPrimitive stack
     basegfx::BColorModifierStack maBColorModifierStack;
diff --git a/include/sfx2/dinfdlg.hxx b/include/sfx2/dinfdlg.hxx
index 81692a2fc96f..2acbc93cffe9 100644
--- a/include/sfx2/dinfdlg.hxx
+++ b/include/sfx2/dinfdlg.hxx
@@ -276,7 +276,7 @@ public:
     ~CustomPropertiesTimeField();
 };
 
-class DurationDialog_Impl : public weld::GenericDialogController
+class DurationDialog_Impl final : public weld::GenericDialogController
 {
     std::unique_ptr<weld::CheckButton> m_xNegativeCB;
     std::unique_ptr<weld::SpinButton> m_xYearNF;
diff --git a/include/xmloff/GradientStyle.hxx b/include/xmloff/GradientStyle.hxx
index 58975644fb3d..37884d9bea42 100644
--- a/include/xmloff/GradientStyle.hxx
+++ b/include/xmloff/GradientStyle.hxx
@@ -48,7 +48,7 @@ public:
         OUString& rStrName );
 };
 
-class XMLOFF_DLLPUBLIC XMLGradientStopContext: public SvXMLImportContext
+class XMLOFF_DLLPUBLIC XMLGradientStopContext final : public SvXMLImportContext
 {
 public:
     XMLGradientStopContext(
diff --git a/sc/source/filter/inc/formulabuffer.hxx 
b/sc/source/filter/inc/formulabuffer.hxx
index 2266362718eb..512b1feb3c81 100644
--- a/sc/source/filter/inc/formulabuffer.hxx
+++ b/sc/source/filter/inc/formulabuffer.hxx
@@ -16,7 +16,7 @@
 
 namespace oox::xls {
 
-class FormulaBuffer : public WorkbookHelper
+class FormulaBuffer final : public WorkbookHelper
 {
 public:
     /**
diff --git a/sc/source/filter/inc/formulaparser.hxx 
b/sc/source/filter/inc/formulaparser.hxx
index 32cab7caed3a..6b9c8fa8fa6c 100644
--- a/sc/source/filter/inc/formulaparser.hxx
+++ b/sc/source/filter/inc/formulaparser.hxx
@@ -96,7 +96,7 @@ class FormulaParserImpl;
     instance is contained in the global filter data to prevent construction and
     destruction of internal buffers for every imported formula.
  */
-class FormulaParser : public FormulaProcessorBase
+class FormulaParser final : public FormulaProcessorBase
 {
 public:
     explicit            FormulaParser( const WorkbookHelper& rHelper );
diff --git a/sc/source/ui/inc/DrawModelBroadcaster.hxx 
b/sc/source/ui/inc/DrawModelBroadcaster.hxx
index a4c58dbba04b..bd4c2e0b1ba1 100644
--- a/sc/source/ui/inc/DrawModelBroadcaster.hxx
+++ b/sc/source/ui/inc/DrawModelBroadcaster.hxx
@@ -29,7 +29,7 @@
 
 class SdrModel;
 
-class ScDrawModelBroadcaster : public SfxListener,
+class ScDrawModelBroadcaster final : public SfxListener,
     public ::cppu::WeakImplHelper< css::document::XShapeEventBroadcaster >
 {
     mutable std::mutex maListenerMutex;
diff --git a/svx/inc/sdr/properties/cellproperties.hxx 
b/svx/inc/sdr/properties/cellproperties.hxx
index ce8dd062bb66..46e7b280fcd0 100644
--- a/svx/inc/sdr/properties/cellproperties.hxx
+++ b/svx/inc/sdr/properties/cellproperties.hxx
@@ -30,7 +30,7 @@ typedef rtl::Reference<sdr::table::Cell> CellRef;
 
 namespace sdr::properties
 {
-class CellTextProvider : public svx::ITextProvider
+class CellTextProvider final : public svx::ITextProvider
 {
 public:
     explicit CellTextProvider(sdr::table::CellRef xCell);
@@ -44,7 +44,7 @@ private:
     const sdr::table::CellRef m_xCell;
 };
 
-class CellProperties : public TextProperties
+class CellProperties final : public TextProperties
 {
 protected:
     // create a new itemset
diff --git a/svx/inc/shapecollection.hxx b/svx/inc/shapecollection.hxx
index 67610f056763..3c3dde9d1ea5 100644
--- a/svx/inc/shapecollection.hxx
+++ b/svx/inc/shapecollection.hxx
@@ -27,7 +27,7 @@
 #include <mutex>
 #include <vector>
 
-class SvxShapeCollection
+class SvxShapeCollection final
     : public cppu::WeakAggImplHelper3<css::drawing::XShapes, 
css::lang::XServiceInfo,
                                       css::lang::XComponent>
 {
diff --git a/vcl/inc/headless/CairoCommon.hxx b/vcl/inc/headless/CairoCommon.hxx
index f7556ede27ae..ea07e798b74b 100644
--- a/vcl/inc/headless/CairoCommon.hxx
+++ b/vcl/inc/headless/CairoCommon.hxx
@@ -61,7 +61,7 @@ VCL_DLLPUBLIC basegfx::B2DRange getClippedFillDamage(cairo_t* 
cr);
 VCL_DLLPUBLIC basegfx::B2DRange getClippedStrokeDamage(cairo_t* cr);
 VCL_DLLPUBLIC basegfx::B2DRange getStrokeDamage(cairo_t* cr);
 
-class SystemDependentData_CairoPath : public basegfx::SystemDependentData
+class SystemDependentData_CairoPath final : public basegfx::SystemDependentData
 {
 private:
     // the path data itself
diff --git a/vcl/inc/headless/SvpGraphicsBackend.hxx 
b/vcl/inc/headless/SvpGraphicsBackend.hxx
index e6f86617eba3..5e0e196b503e 100644
--- a/vcl/inc/headless/SvpGraphicsBackend.hxx
+++ b/vcl/inc/headless/SvpGraphicsBackend.hxx
@@ -27,7 +27,7 @@
 
 #include <headless/CairoCommon.hxx>
 
-class VCL_DLLPUBLIC SvpGraphicsBackend : public SalGraphicsImpl
+class VCL_DLLPUBLIC SvpGraphicsBackend final : public SalGraphicsImpl
 {
     CairoCommon& m_rCairoCommon;
 
diff --git a/vcl/inc/unx/cairotextrender.hxx b/vcl/inc/unx/cairotextrender.hxx
index ff0a2117811a..e262a9184b31 100644
--- a/vcl/inc/unx/cairotextrender.hxx
+++ b/vcl/inc/unx/cairotextrender.hxx
@@ -28,7 +28,7 @@ struct CairoCommon;
 typedef struct _cairo cairo_t;
 typedef struct _cairo_font_options cairo_font_options_t;
 
-class VCL_DLLPUBLIC CairoTextRender : public FreeTypeTextRenderImpl
+class VCL_DLLPUBLIC CairoTextRender final : public FreeTypeTextRenderImpl
 {
 private:
     CairoCommon& mrCairoCommon;
diff --git a/vcl/inc/unx/freetype_glyphcache.hxx 
b/vcl/inc/unx/freetype_glyphcache.hxx
index 7602ec0ba1d8..36499b5ca38f 100644
--- a/vcl/inc/unx/freetype_glyphcache.hxx
+++ b/vcl/inc/unx/freetype_glyphcache.hxx
@@ -85,7 +85,7 @@ private:
 
 };
 
-class FreetypeFontFace : public vcl::font::PhysicalFontFace
+class FreetypeFontFace final : public vcl::font::PhysicalFontFace
 {
 private:
     FreetypeFontInfo*             mpFreetypeFontInfo;

Reply via email to