diff options
Diffstat (limited to 'xmlhelp/source/cxxhelp/provider/bufferedinputstream.cxx')
-rw-r--r-- | xmlhelp/source/cxxhelp/provider/bufferedinputstream.cxx | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/xmlhelp/source/cxxhelp/provider/bufferedinputstream.cxx b/xmlhelp/source/cxxhelp/provider/bufferedinputstream.cxx index bfcdb2e367a8..2a8dd90c0669 100644 --- a/xmlhelp/source/cxxhelp/provider/bufferedinputstream.cxx +++ b/xmlhelp/source/cxxhelp/provider/bufferedinputstream.cxx @@ -30,21 +30,6 @@ using namespace com::sun::star::io; using namespace chelp; -Reference<XInputStream> chelp::turnToSeekable(const Reference<XInputStream>& xInputStream) -{ - if( ! xInputStream.is() ) - return xInputStream; - - Reference<XSeekable> xSeekable(xInputStream,UNO_QUERY); - - if( xSeekable.is() ) - return xInputStream; - - return new BufferedInputStream(xInputStream); -} - - - BufferedInputStream::BufferedInputStream(const Reference<XInputStream>& xInputStream) : m_nBufferLocation(0), m_nBufferSize(0), |