summaryrefslogtreecommitdiff
path: root/include/sot
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-06-22 12:08:45 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-07-12 08:45:14 +0000
commit52b91f3454394a1792dec018804bf2c969f564e5 (patch)
treeb72a1bedae05e7e16268487e6d16773f8ee57674 /include/sot
parentc44726c48228d9c6a5960e302b1c0bd16b0099c4 (diff)
new loplugin fragiledestructor
fix up a small number of places that it finds Change-Id: Iedc91e141edfb28f727454f698cd2155a7fd5bf4 Reviewed-on: https://gerrit.libreoffice.org/26566 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include/sot')
-rw-r--r--include/sot/stg.hxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/sot/stg.hxx b/include/sot/stg.hxx
index 8d4479e90511..ada5c7e75319 100644
--- a/include/sot/stg.hxx
+++ b/include/sot/stg.hxx
@@ -148,7 +148,7 @@ public:
virtual bool SetSize( sal_uLong nNewSize ) override;
virtual sal_uLong GetSize() const override;
virtual void CopyTo( BaseStorageStream * pDestStm ) override;
- virtual bool Commit() override;
+ virtual bool Commit() final override;
virtual bool Validate( bool=false ) const override;
virtual bool ValidateMode( StreamMode ) const override;
virtual bool Equals( const BaseStorageStream& rStream ) const override;
@@ -172,7 +172,7 @@ public:
static bool IsStorageFile( const OUString & rFileName );
static bool IsStorageFile( SvStream* );
- virtual const OUString& GetName() const override;
+ virtual const OUString& GetName() const final override;
virtual bool IsRoot() const override { return bIsRoot; }
virtual void SetClassId( const ClsId& ) override;
virtual const ClsId& GetClassId() const override;
@@ -185,7 +185,7 @@ public:
virtual OUString GetUserName() override;
virtual void FillInfoList( SvStorageInfoList* ) const override;
virtual bool CopyTo( BaseStorage* pDestStg ) const override;
- virtual bool Commit() override;
+ virtual bool Commit() final override;
virtual bool Revert() override;
virtual BaseStorageStream* OpenStream( const OUString & rEleName,
StreamMode = STREAM_STD_READWRITE,
@@ -288,7 +288,7 @@ public:
virtual OUString GetUserName() override;
virtual void FillInfoList( SvStorageInfoList* ) const override;
virtual bool CopyTo( BaseStorage* pDestStg ) const override;
- virtual bool Commit() override;
+ virtual bool Commit() final override;
virtual bool Revert() override;
virtual BaseStorageStream* OpenStream( const OUString & rEleName,
StreamMode = STREAM_STD_READWRITE,