diff options
author | Noel Grandin <noel@peralex.com> | 2016-09-22 16:34:14 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-09-22 18:57:43 +0000 |
commit | 7419057e3ec4365748fa6456e207f40fd9e09c62 (patch) | |
tree | c7ae11659b42539efb0f8c6eef68c1ee14c10dca /io | |
parent | c4cd079b8f613084a99a83b95c3968b65cbd8900 (diff) |
loplugin:unusedmethods in chart2..svx
Change-Id: Ifb6045885049733415895f58cdd911256f48323c
Reviewed-on: https://gerrit.libreoffice.org/29187
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'io')
-rw-r--r-- | io/source/stm/streamhelper.cxx | 18 | ||||
-rw-r--r-- | io/source/stm/streamhelper.hxx | 2 |
2 files changed, 0 insertions, 20 deletions
diff --git a/io/source/stm/streamhelper.cxx b/io/source/stm/streamhelper.cxx index 2e358a549d39..ac06afae1529 100644 --- a/io/source/stm/streamhelper.cxx +++ b/io/source/stm/streamhelper.cxx @@ -177,24 +177,6 @@ void MemRingBuffer::forgetFromStart( sal_Int32 nBytesToForget ) throw (css::io:: } -void MemRingBuffer::shrink() throw () -{ - checkInvariants(); - - // Up to now, only shrinking of while buffer works. - // No other shrinking supported up to now. - if( ! m_nOccupiedBuffer ) { - if( m_p ) { - free( m_p ); - } - m_p = nullptr; - m_nBufferLen = 0; - m_nStart = 0; - } - - checkInvariants(); -} - } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/io/source/stm/streamhelper.hxx b/io/source/stm/streamhelper.hxx index 519d0e71a7c6..11f65567e129 100644 --- a/io/source/stm/streamhelper.hxx +++ b/io/source/stm/streamhelper.hxx @@ -47,8 +47,6 @@ public: sal_Int32 getSize() const throw(); void forgetFromStart(sal_Int32 nBytesToForget) throw(css::io::BufferSizeExceededException); - void shrink() throw(); - private: void resizeBuffer(sal_Int32 nMinSize) throw(css::io::BufferSizeExceededException); |