diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-03-26 16:37:00 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-03-26 16:39:26 +0100 |
commit | 70cc2b191b95fbc210bc1f0f6a7159f341894f0f (patch) | |
tree | a70f4957c454b443520cbf91250c41d9eea80017 /io/source/stm/streamhelper.hxx | |
parent | 8757bea2e88c6e349e1fe98d8e9695d7b9c6179e (diff) |
First batch of adding SAL_OVERRRIDE to overriding function declarations
...mostly done with a rewriting Clang plugin, with just some manual tweaking
necessary to fix poor macro usage.
Change-Id: I71fa20213e86be10de332ece0aa273239df7b61a
Diffstat (limited to 'io/source/stm/streamhelper.hxx')
-rw-r--r-- | io/source/stm/streamhelper.hxx | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/io/source/stm/streamhelper.hxx b/io/source/stm/streamhelper.hxx index 40f275aaa937..4a31d47dade2 100644 --- a/io/source/stm/streamhelper.hxx +++ b/io/source/stm/streamhelper.hxx @@ -99,14 +99,14 @@ public: virtual void writeAt( sal_Int32 nPos, const Sequence<sal_Int8> &) throw( IRingBuffer_OutOfMemoryException, - IRingBuffer_OutOfBoundsException ); + IRingBuffer_OutOfBoundsException ) SAL_OVERRIDE; virtual void readAt( sal_Int32 nPos, Sequence<sal_Int8> & , sal_Int32 nBytesToRead ) const - throw( IRingBuffer_OutOfBoundsException ); - virtual sal_Int32 getSize() const throw( ); - virtual void forgetFromStart( sal_Int32 nBytesToForget ) throw(IRingBuffer_OutOfBoundsException); - virtual void forgetFromEnd( sal_Int32 nBytesToForget ) throw(IRingBuffer_OutOfBoundsException); + throw( IRingBuffer_OutOfBoundsException ) SAL_OVERRIDE; + virtual sal_Int32 getSize() const throw( ) SAL_OVERRIDE; + virtual void forgetFromStart( sal_Int32 nBytesToForget ) throw(IRingBuffer_OutOfBoundsException) SAL_OVERRIDE; + virtual void forgetFromEnd( sal_Int32 nBytesToForget ) throw(IRingBuffer_OutOfBoundsException) SAL_OVERRIDE; - virtual void shrink() throw(); + virtual void shrink() throw() SAL_OVERRIDE; private: @@ -133,13 +133,13 @@ class MemFIFO : { public: virtual void write( const Sequence<sal_Int8> &) throw( I_FIFO_OutOfMemoryException, - I_FIFO_OutOfBoundsException ); + I_FIFO_OutOfBoundsException ) SAL_OVERRIDE; virtual void read( Sequence<sal_Int8> & , sal_Int32 nBytesToRead ) - throw( I_FIFO_OutOfBoundsException ); - virtual void skip( sal_Int32 nBytesToSkip ) throw( I_FIFO_OutOfBoundsException ); - virtual sal_Int32 getSize() const throw( ) + throw( I_FIFO_OutOfBoundsException ) SAL_OVERRIDE; + virtual void skip( sal_Int32 nBytesToSkip ) throw( I_FIFO_OutOfBoundsException ) SAL_OVERRIDE; + virtual sal_Int32 getSize() const throw( ) SAL_OVERRIDE { return MemRingBuffer::getSize(); } - virtual void shrink() throw() + virtual void shrink() throw() SAL_OVERRIDE { MemRingBuffer::shrink(); } }; |