diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-10-30 09:42:08 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-10-30 10:01:16 +0100 |
commit | f903af07aab03f94e36a74936deef7f28d05a779 (patch) | |
tree | 5f0c93f65077611814ea591888821dcc2e6a033e /include/tools | |
parent | a874172b9b048cfc6c4aa73cdf52c54b9b34872a (diff) |
loplugin:finalclasses tools
Change-Id: I6577a0947acda837dd3f775b10fc09bac9fbb27e
Reviewed-on: https://gerrit.libreoffice.org/81728
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/tools')
-rw-r--r-- | include/tools/ref.hxx | 2 | ||||
-rw-r--r-- | include/tools/stream.hxx | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/include/tools/ref.hxx b/include/tools/ref.hxx index 44e0f50c99d0..3f245bf08e1b 100644 --- a/include/tools/ref.hxx +++ b/include/tools/ref.hxx @@ -174,7 +174,7 @@ class SvCompatWeakBase; /** SvCompatWeakHdl acts as an intermediary between SvCompatWeakRef<T> and T. */ template<typename T> -class SvCompatWeakHdl : public SvRefBase +class SvCompatWeakHdl final : public SvRefBase { friend class SvCompatWeakBase<T>; T* _pObj; diff --git a/include/tools/stream.hxx b/include/tools/stream.hxx index b072970822f9..69679f7ef33e 100644 --- a/include/tools/stream.hxx +++ b/include/tools/stream.hxx @@ -568,7 +568,7 @@ inline std::size_t write_uInt16_lenPrefixed_uInt8s_FromOUString(SvStream& rStrm, // FileStream -class TOOLS_DLLPUBLIC SvFileStream : public SvStream +class TOOLS_DLLPUBLIC SvFileStream final : public SvStream { private: std::unique_ptr<StreamData> @@ -587,7 +587,6 @@ private: bool LockFile(); void UnlockFile(); -protected: virtual std::size_t GetData( void* pData, std::size_t nSize ) override; virtual std::size_t PutData( const void* pData, std::size_t nSize ) override; virtual sal_uInt64 SeekPos( sal_uInt64 nPos ) override; |