summaryrefslogtreecommitdiff
path: root/comphelper/source/streaming
diff options
context:
space:
mode:
Diffstat (limited to 'comphelper/source/streaming')
-rw-r--r--comphelper/source/streaming/streamsection.cxx14
1 files changed, 0 insertions, 14 deletions
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