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>
This commit is contained in:
Noel Grandin
2019-10-30 09:42:08 +02:00
parent a874172b9b
commit f903af07aa
2 changed files with 2 additions and 3 deletions

View File

@@ -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;

View File

@@ -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;