diff options
author | Noel Grandin <noel@peralex.com> | 2016-01-12 15:40:44 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-01-13 08:44:45 +0200 |
commit | fa7c7b160136e4b08bc1e1aef9017d4596ad6184 (patch) | |
tree | ec123062f175d9322d76c6b7311cc71c8e290e6a /include | |
parent | 38c23520d40749ff21b6b1ed5f5c0375d40fe1fc (diff) |
loplugin:unusedmethods unused return value in include/sot
Change-Id: I8da6d5f60b6c65ff0da8659045da1cd7666fb1d9
Diffstat (limited to 'include')
-rw-r--r-- | include/sot/stg.hxx | 12 | ||||
-rw-r--r-- | include/sot/storage.hxx | 2 | ||||
-rw-r--r-- | include/store/store.hxx | 14 |
3 files changed, 7 insertions, 21 deletions
diff --git a/include/sot/stg.hxx b/include/sot/stg.hxx index 90cf9be52cac..a0a5eeaa5884 100644 --- a/include/sot/stg.hxx +++ b/include/sot/stg.hxx @@ -74,7 +74,7 @@ public: virtual void Flush() = 0; virtual bool SetSize( sal_uLong nNewSize ) = 0; virtual sal_uLong GetSize() const = 0; - virtual bool CopyTo( BaseStorageStream * pDestStm ) = 0; + virtual void CopyTo( BaseStorageStream * pDestStm ) = 0; virtual bool Commit() = 0; virtual bool Equals( const BaseStorageStream& rStream ) const = 0; }; @@ -114,7 +114,7 @@ public: virtual bool IsStream( const OUString& rEleName ) const = 0; virtual bool IsStorage( const OUString& rEleName ) const = 0; virtual bool IsContained( const OUString& rEleName ) const = 0; - virtual bool Remove( const OUString & rEleName ) = 0; + virtual void Remove( const OUString & rEleName ) = 0; virtual bool CopyTo( const OUString & rEleName, BaseStorage * pDest, const OUString & rNewName ) = 0; virtual bool ValidateFAT() = 0; virtual bool Equals( const BaseStorage& rStream ) const = 0; @@ -147,7 +147,7 @@ public: virtual void Flush() override; virtual bool SetSize( sal_uLong nNewSize ) override; virtual sal_uLong GetSize() const override; - virtual bool CopyTo( BaseStorageStream * pDestStm ) override; + virtual void CopyTo( BaseStorageStream * pDestStm ) override; virtual bool Commit() override; virtual bool Validate( bool=false ) const override; virtual bool ValidateMode( StreamMode ) const override; @@ -202,7 +202,7 @@ public: virtual bool IsStream( const OUString& rEleName ) const override; virtual bool IsStorage( const OUString& rEleName ) const override; virtual bool IsContained( const OUString& rEleName ) const override; - virtual bool Remove( const OUString & rEleName ) override; + virtual void Remove( const OUString & rEleName ) override; virtual bool CopyTo( const OUString & rEleName, BaseStorage * pDest, const OUString & rNewName ) override; virtual bool ValidateFAT() override; virtual bool Validate( bool=false ) const override; @@ -231,7 +231,7 @@ public: virtual void Flush() override; virtual bool SetSize( sal_uLong nNewSize ) override; virtual sal_uLong GetSize() const override; - virtual bool CopyTo( BaseStorageStream * pDestStm ) override; + virtual void CopyTo( BaseStorageStream * pDestStm ) override; virtual bool Commit() override; virtual bool Validate( bool=false ) const override; virtual bool ValidateMode( StreamMode ) const override; @@ -305,7 +305,7 @@ public: virtual bool IsStream( const OUString& rEleName ) const override; virtual bool IsStorage( const OUString& rEleName ) const override; virtual bool IsContained( const OUString& rEleName ) const override; - virtual bool Remove( const OUString & rEleName ) override; + virtual void Remove( const OUString & rEleName ) override; virtual bool CopyTo( const OUString & rEleName, BaseStorage * pDest, const OUString & rNewName ) override; virtual bool ValidateFAT() override; virtual bool Validate( bool=false ) const override; diff --git a/include/sot/storage.hxx b/include/sot/storage.hxx index 3e431a34280b..326ef1e1a71e 100644 --- a/include/sot/storage.hxx +++ b/include/sot/storage.hxx @@ -53,7 +53,7 @@ public: virtual void SetSize( sal_uInt64 nNewSize ) override; sal_uInt32 GetSize() const; - bool CopyTo( SotStorageStream * pDestStm ); + void CopyTo( SotStorageStream * pDestStm ); bool Commit(); bool SetProperty( const OUString& rName, const css::uno::Any& rValue ); virtual sal_uInt64 remainingSize() override; diff --git a/include/store/store.hxx b/include/store/store.hxx index 790fd4b483d0..050e9b732ba4 100644 --- a/include/store/store.hxx +++ b/include/store/store.hxx @@ -81,13 +81,6 @@ public: (void) store_acquireHandle (m_hImpl); } - /** Conversion into Stream Handle. - */ - inline operator storeStreamHandle() const - { - return m_hImpl; - } - /** Open the stream. @see store_openStream() */ @@ -193,13 +186,6 @@ public: (void) store_acquireHandle (m_hImpl); } - /** Conversion into Directory Handle. - */ - inline operator storeDirectoryHandle() const - { - return m_hImpl; - } - /** Open the directory. @see store_openDirectory() */ |