diff options
Diffstat (limited to 'io')
-rw-r--r-- | io/source/stm/streamhelper.cxx | 2 | ||||
-rw-r--r-- | io/source/stm/streamhelper.hxx | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/io/source/stm/streamhelper.cxx b/io/source/stm/streamhelper.cxx index 4a2df5891be1..0933ac966f8f 100644 --- a/io/source/stm/streamhelper.cxx +++ b/io/source/stm/streamhelper.cxx @@ -147,7 +147,7 @@ void MemRingBuffer::writeAt( sal_Int32 nPos, const Sequence<sal_Int8> &seq ) } -sal_Int32 MemRingBuffer::getSize() const throw() +sal_Int32 MemRingBuffer::getSize() const noexcept { return m_nOccupiedBuffer; } diff --git a/io/source/stm/streamhelper.hxx b/io/source/stm/streamhelper.hxx index 6d49003e9d77..8cacaf1f2b30 100644 --- a/io/source/stm/streamhelper.hxx +++ b/io/source/stm/streamhelper.hxx @@ -42,7 +42,7 @@ public: void writeAt( sal_Int32 nPos, const Sequence<sal_Int8> &); /// @throws css::io::BufferSizeExceededException void readAt( sal_Int32 nPos, Sequence<sal_Int8> & , sal_Int32 nBytesToRead ) const; - sal_Int32 getSize() const throw(); + sal_Int32 getSize() const noexcept; /// @throws css::io::BufferSizeExceededException void forgetFromStart(sal_Int32 nBytesToForget); @@ -75,7 +75,7 @@ public: void read( Sequence<sal_Int8> & , sal_Int32 nBytesToRead ); /// @throws css::io::BufferSizeExceededException void skip( sal_Int32 nBytesToSkip ); - sal_Int32 getSize() const throw() + sal_Int32 getSize() const noexcept { return MemRingBuffer::getSize(); } }; |