summaryrefslogtreecommitdiff
path: root/io/source/stm
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-07-02 09:40:48 +0200
committerNoel Grandin <noelgrandin@gmail.com>2015-07-02 12:14:34 +0000
commit1a7e0cfd86c03607f9009aec40dbfa5d43de0c8e (patch)
treee32a4954af55e243a4ddf5989355053e3eff7f43 /io/source/stm
parent1d498fb0feca911fa063e96779b654c3aded2415 (diff)
loplugin:unusedmethods bridges,ucbhelper,io,pyuno
Change-Id: I483deb33b9d861af679d4a36e13585345401e10d Reviewed-on: https://gerrit.libreoffice.org/16681 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'io/source/stm')
-rw-r--r--io/source/stm/streamhelper.cxx11
-rw-r--r--io/source/stm/streamhelper.hxx3
2 files changed, 0 insertions, 14 deletions
diff --git a/io/source/stm/streamhelper.cxx b/io/source/stm/streamhelper.cxx
index 988fb24a5c13..516d4e506912 100644
--- a/io/source/stm/streamhelper.cxx
+++ b/io/source/stm/streamhelper.cxx
@@ -202,17 +202,6 @@ void MemRingBuffer::forgetFromStart( sal_Int32 nBytesToForget ) throw (IRingBuff
}
-void MemRingBuffer::forgetFromEnd( sal_Int32 nBytesToForget ) throw (IRingBuffer_OutOfBoundsException)
-{
- checkInvariants();
- if( nBytesToForget > m_nOccupiedBuffer ) {
- throw IRingBuffer_OutOfBoundsException();
- }
- m_nOccupiedBuffer -= nBytesToForget;
- checkInvariants();
-}
-
-
void MemRingBuffer::shrink() throw ()
{
checkInvariants();
diff --git a/io/source/stm/streamhelper.hxx b/io/source/stm/streamhelper.hxx
index 56b7412e0d89..0275557ace8c 100644
--- a/io/source/stm/streamhelper.hxx
+++ b/io/source/stm/streamhelper.hxx
@@ -57,7 +57,6 @@ public:
virtual void skip( sal_Int32 nBytesToSkip )
throw( I_FIFO_OutOfBoundsException )=0;
virtual sal_Int32 getSize() const throw( ) =0;
- virtual void shrink() throw() = 0;
virtual ~I_FIFO() {};
};
@@ -87,7 +86,6 @@ public:
throw( IRingBuffer_OutOfBoundsException )=0;
virtual sal_Int32 getSize() const throw( ) =0;
virtual void forgetFromStart( sal_Int32 nBytesToForget ) throw(IRingBuffer_OutOfBoundsException)=0;
- virtual void forgetFromEnd( sal_Int32 nBytesToForget ) throw(IRingBuffer_OutOfBoundsException)=0;
virtual void shrink() throw() = 0;
virtual ~IRingBuffer() {};
};
@@ -107,7 +105,6 @@ public:
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() SAL_OVERRIDE;