diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-10-28 18:21:56 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-10-28 20:17:20 +0100 |
commit | 7a059baa880a3c8e479b62644ad05fb56726c4b2 (patch) | |
tree | e3a1bc3bc0cfb24d72f14a19bf1a5c5d898a0fa9 /include/basic | |
parent | 4b91b7dfa75d710d6845fd98b491889ec80d9da8 (diff) |
loplugin:finalclasses in avmedia..basic
Change-Id: Ia54364237149fac38e6ebcc5fcf9933d0ccf5984
Reviewed-on: https://gerrit.libreoffice.org/81619
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/basic')
-rw-r--r-- | include/basic/modsizeexceeded.hxx | 2 | ||||
-rw-r--r-- | include/basic/sbx.hxx | 6 | ||||
-rw-r--r-- | include/basic/sbxvar.hxx | 2 |
3 files changed, 5 insertions, 5 deletions
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: |