From ba8919e8129b5e8da112ad4f1d11bb39096c1e0e Mon Sep 17 00:00:00 2001 From: Elton Chung Date: Sat, 25 Feb 2012 13:52:32 +0800 Subject: Remove unused code --- comphelper/source/streaming/streamsection.cxx | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'comphelper/source/streaming') diff --git a/comphelper/source/streaming/streamsection.cxx b/comphelper/source/streaming/streamsection.cxx index 249a1642f925..25b1efefd4f5 100644 --- a/comphelper/source/streaming/streamsection.cxx +++ b/comphelper/source/streaming/streamsection.cxx @@ -101,20 +101,6 @@ OStreamSection::~OStreamSection() } } // ----------------------------------------------------------------------------- -sal_Int32 OStreamSection::available() -{ - sal_Int32 nBytes = 0; - try - { // don't allow any exceptions to leave this block, this may be called during the stack unwinding of an exception - if (m_xInStream.is() && m_xMarkStream.is()) - nBytes = m_xMarkStream->offsetToMark(m_nBlockStart) - sizeof(m_nBlockLen); - } - catch(const staruno::Exception&) - { - } - return nBytes; -} -// ----------------------------------------------------------------------------- } // namespace comphelper -- cgit