include/avmedia/mediaitem.hxx                 |    2 +-
 include/avmedia/mediaplayer.hxx               |    4 ++--
 include/avmedia/mediatoolbox.hxx              |    2 +-
 include/basegfx/color/bcolormodifier.hxx      |   16 ++++++++--------
 include/basegfx/utils/systemdependentdata.hxx |    2 +-
 include/basic/modsizeexceeded.hxx             |    2 +-
 include/basic/sbx.hxx                         |    6 +++---
 include/basic/sbxvar.hxx                      |    2 +-
 8 files changed, 18 insertions(+), 18 deletions(-)

New commits:
commit 7a059baa880a3c8e479b62644ad05fb56726c4b2
Author:     Noel Grandin <noel.gran...@collabora.co.uk>
AuthorDate: Mon Oct 28 18:21:56 2019 +0200
Commit:     Noel Grandin <noel.gran...@collabora.co.uk>
CommitDate: Mon Oct 28 20:17:20 2019 +0100

    loplugin:finalclasses in avmedia..basic
    
    Change-Id: Ia54364237149fac38e6ebcc5fcf9933d0ccf5984
    Reviewed-on: https://gerrit.libreoffice.org/81619
    Tested-by: Jenkins
    Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk>

diff --git a/include/avmedia/mediaitem.hxx b/include/avmedia/mediaitem.hxx
index 575d8f7be239..e309b0b29ce2 100644
--- a/include/avmedia/mediaitem.hxx
+++ b/include/avmedia/mediaitem.hxx
@@ -61,7 +61,7 @@ enum class MediaState
 };
 
 
-class AVMEDIA_DLLPUBLIC MediaItem : public SfxPoolItem
+class AVMEDIA_DLLPUBLIC MediaItem final : public SfxPoolItem
 {
 public:
                             static SfxPoolItem* CreateDefault();
diff --git a/include/avmedia/mediaplayer.hxx b/include/avmedia/mediaplayer.hxx
index 396b94f7a660..52ecd942e49a 100644
--- a/include/avmedia/mediaplayer.hxx
+++ b/include/avmedia/mediaplayer.hxx
@@ -28,7 +28,7 @@
 namespace avmedia
 {
 
-class AVMEDIA_DLLPUBLIC MediaPlayer : public SfxChildWindow
+class AVMEDIA_DLLPUBLIC MediaPlayer final : public SfxChildWindow
 {
 public:
                         MediaPlayer( vcl::Window*, sal_uInt16, SfxBindings*, 
SfxChildWinInfo* );
@@ -39,7 +39,7 @@ public:
 
 class MediaWindow;
 
-class AVMEDIA_DLLPUBLIC MediaFloater : public SfxDockingWindow
+class AVMEDIA_DLLPUBLIC MediaFloater final : public SfxDockingWindow
 {
 public:
 
diff --git a/include/avmedia/mediatoolbox.hxx b/include/avmedia/mediatoolbox.hxx
index 5f39eab95ac1..08f63b1cf035 100644
--- a/include/avmedia/mediatoolbox.hxx
+++ b/include/avmedia/mediatoolbox.hxx
@@ -28,7 +28,7 @@ namespace avmedia
 
 class MediaItem;
 
-class AVMEDIA_DLLPUBLIC MediaToolBoxControl : public SfxToolBoxControl
+class AVMEDIA_DLLPUBLIC MediaToolBoxControl final : public SfxToolBoxControl
 {
      friend class MediaToolBoxControl_Impl;
 
diff --git a/include/basegfx/color/bcolormodifier.hxx 
b/include/basegfx/color/bcolormodifier.hxx
index 0f03f1080d9c..80cecf253962 100644
--- a/include/basegfx/color/bcolormodifier.hxx
+++ b/include/basegfx/color/bcolormodifier.hxx
@@ -88,7 +88,7 @@ namespace basegfx
 {
     /** convert color to gray
     */
-    class SAL_WARN_UNUSED BASEGFX_DLLPUBLIC BColorModifier_gray : public 
BColorModifier
+    class SAL_WARN_UNUSED BASEGFX_DLLPUBLIC BColorModifier_gray final : public 
BColorModifier
     {
     private:
     protected:
@@ -115,7 +115,7 @@ namespace basegfx
 
         returns a color where red green and blue are inverted using 1.0 - n
     */
-    class SAL_WARN_UNUSED BASEGFX_DLLPUBLIC BColorModifier_invert : public 
BColorModifier
+    class SAL_WARN_UNUSED BASEGFX_DLLPUBLIC BColorModifier_invert final : 
public BColorModifier
     {
     private:
     protected:
@@ -146,7 +146,7 @@ namespace basegfx
         This derivation is used for the svg importer and does exactly what SVG
         defines for this needed case.
     */
-    class SAL_WARN_UNUSED BASEGFX_DLLPUBLIC BColorModifier_luminance_to_alpha 
: public BColorModifier
+    class SAL_WARN_UNUSED BASEGFX_DLLPUBLIC BColorModifier_luminance_to_alpha 
final : public BColorModifier
     {
     private:
     protected:
@@ -175,7 +175,7 @@ namespace basegfx
         given color, replacing everything. Useful e.g. for unified shadow
         creation
     */
-    class SAL_WARN_UNUSED BASEGFX_DLLPUBLIC BColorModifier_replace : public 
BColorModifier
+    class SAL_WARN_UNUSED BASEGFX_DLLPUBLIC BColorModifier_replace final : 
public BColorModifier
     {
     private:
         ::basegfx::BColor           maBColor;
@@ -211,7 +211,7 @@ namespace basegfx
 
         col * (1 - f) + aSourceColor * f
     */
-    class SAL_WARN_UNUSED BASEGFX_DLLPUBLIC BColorModifier_interpolate : 
public BColorModifier
+    class SAL_WARN_UNUSED BASEGFX_DLLPUBLIC BColorModifier_interpolate final : 
public BColorModifier
     {
     private:
         ::basegfx::BColor           maBColor;
@@ -248,7 +248,7 @@ namespace basegfx
         returns black when the luminance of the given color is less than
         the given threshold value in the range [0.0 .. 1.0], else white
     */
-    class SAL_WARN_UNUSED BASEGFX_DLLPUBLIC BColorModifier_black_and_white : 
public BColorModifier
+    class SAL_WARN_UNUSED BASEGFX_DLLPUBLIC BColorModifier_black_and_white 
final : public BColorModifier
     {
     private:
         double                      mfValue;
@@ -284,7 +284,7 @@ namespace basegfx
 
         col(r,g,b) = clamp(pow(col(r,g,b), 1.0 / gamma), 0.0, 1.0)
     */
-    class SAL_WARN_UNUSED BASEGFX_DLLPUBLIC BColorModifier_gamma : public 
BColorModifier
+    class SAL_WARN_UNUSED BASEGFX_DLLPUBLIC BColorModifier_gamma final : 
public BColorModifier
     {
     private:
         double                      mfValue;
@@ -320,7 +320,7 @@ namespace basegfx
         - be able to cover a bigger change range utilizing the combination
         - allow execution by a small, common, precalculated table
     */
-    class SAL_WARN_UNUSED BASEGFX_DLLPUBLIC 
BColorModifier_RGBLuminanceContrast : public BColorModifier
+    class SAL_WARN_UNUSED BASEGFX_DLLPUBLIC 
BColorModifier_RGBLuminanceContrast final : public BColorModifier
     {
     private:
         double                      mfRed;
diff --git a/include/basegfx/utils/systemdependentdata.hxx 
b/include/basegfx/utils/systemdependentdata.hxx
index f3befe06085f..7baff4c7b01b 100644
--- a/include/basegfx/utils/systemdependentdata.hxx
+++ b/include/basegfx/utils/systemdependentdata.hxx
@@ -49,7 +49,7 @@ namespace basegfx
 
 namespace basegfx
 {
-    class BASEGFX_DLLPUBLIC MinimalSystemDependentDataManager : public 
SystemDependentDataManager
+    class BASEGFX_DLLPUBLIC MinimalSystemDependentDataManager final : public 
SystemDependentDataManager
     {
     private:
         // example of a minimal SystemDependentDataManager. It *needs to hold*
diff --git a/include/basic/modsizeexceeded.hxx 
b/include/basic/modsizeexceeded.hxx
index 3c1ffba97f3b..cbcfa37b858e 100644
--- a/include/basic/modsizeexceeded.hxx
+++ b/include/basic/modsizeexceeded.hxx
@@ -27,7 +27,7 @@
 
 namespace com::sun::star::task { class XInteractionContinuation; }
 
-class BASIC_DLLPUBLIC ModuleSizeExceeded : public cppu::WeakImplHelper< 
css::task::XInteractionRequest >
+class BASIC_DLLPUBLIC ModuleSizeExceeded final : public cppu::WeakImplHelper< 
css::task::XInteractionRequest >
 {
 // C++ interface
 public:
diff --git a/include/basic/sbx.hxx b/include/basic/sbx.hxx
index 8001afe14b11..d80de9838d1c 100644
--- a/include/basic/sbx.hxx
+++ b/include/basic/sbx.hxx
@@ -77,7 +77,7 @@ public:
     void                SetComment( const OUString& r )   { aComment = r; }
 };
 
-class BASIC_DLLPUBLIC SbxHint : public SfxHint
+class BASIC_DLLPUBLIC SbxHint final : public SfxHint
 {
     SbxVariable* pVar;
 public:
@@ -140,12 +140,12 @@ struct SbxDim {                 // an array-dimension:
     sal_Int32 nSize;            // Number of elements
 };
 
-class BASIC_DLLPUBLIC SbxDimArray : public SbxArray
+class BASIC_DLLPUBLIC SbxDimArray final : public SbxArray
 {
     std::vector<SbxDim> m_vDimensions;     // Dimension table
     BASIC_DLLPRIVATE void AddDimImpl32( sal_Int32, sal_Int32, bool bAllowSize0 
);
     bool mbHasFixedSize;
-protected:
+
     sal_uInt16  Offset( const short* );
     sal_uInt32  Offset32( const sal_Int32* );
     sal_uInt32  Offset32( SbxArray* );
diff --git a/include/basic/sbxvar.hxx b/include/basic/sbxvar.hxx
index 270db0d137af..8aa27e9f960b 100644
--- a/include/basic/sbxvar.hxx
+++ b/include/basic/sbxvar.hxx
@@ -304,7 +304,7 @@ typedef tools::SvRef<SbxVariable> SbxVariableRef;
 
 //tdf#59222 SbxEnsureParentVariable is a SbxVariable which keeps a reference to
 //its parent, ensuring it always exists while this SbxVariable exists
-class BASIC_DLLPUBLIC SbxEnsureParentVariable : public SbxVariable
+class BASIC_DLLPUBLIC SbxEnsureParentVariable final : public SbxVariable
 {
     SbxObjectRef xParent;
 public:
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to