summaryrefslogtreecommitdiff
path: root/comphelper/source/streaming
diff options
context:
space:
mode:
authorElton Chung <elton@layerjet.com>2012-02-25 13:52:32 +0800
committerMichael Meeks <michael.meeks@suse.com>2012-02-25 20:33:57 +0000
commitba8919e8129b5e8da112ad4f1d11bb39096c1e0e (patch)
tree09c421269f3332bafac4cfb6297f7982443f73bb /comphelper/source/streaming
parent0333d2101acf36c9f44e5cc51ff6964d8a98920d (diff)
Remove unused code
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