summaryrefslogtreecommitdiff
path: root/include/tools
diff options
context:
space:
mode:
Diffstat (limited to 'include/tools')
-rw-r--r--include/tools/ref.hxx2
-rw-r--r--include/tools/stream.hxx3
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;