include/tools/ref.hxx | 2 +- include/tools/stream.hxx | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-)
New commits: commit f903af07aab03f94e36a74936deef7f28d05a779 Author: Noel Grandin <[email protected]> AuthorDate: Wed Oct 30 09:42:08 2019 +0200 Commit: Noel Grandin <[email protected]> CommitDate: Wed Oct 30 10:01:16 2019 +0100 loplugin:finalclasses tools Change-Id: I6577a0947acda837dd3f775b10fc09bac9fbb27e Reviewed-on: https://gerrit.libreoffice.org/81728 Tested-by: Jenkins Reviewed-by: Noel Grandin <[email protected]> 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; _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
