summaryrefslogtreecommitdiff
path: root/xmlhelp
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-12-18 09:37:44 +0200
committerNoel Grandin <noel@peralex.com>2015-12-21 10:20:31 +0200
commite18b08363a939b35e7f5dc435e606d2c62bddebd (patch)
tree6318e03a67fd2dfbbd29b88b3de36ad7e9fd6292 /xmlhelp
parent20ff8cc5c3534d149b18b9776ab964324e70fdfd (diff)
loplugin:unusedmethods
Change-Id: Ifafdaf6da0225f244853a0042a6458643b570623
Diffstat (limited to 'xmlhelp')
-rw-r--r--xmlhelp/source/cxxhelp/provider/bufferedinputstream.cxx15
-rw-r--r--xmlhelp/source/cxxhelp/provider/bufferedinputstream.hxx5
2 files changed, 0 insertions, 20 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),
diff --git a/xmlhelp/source/cxxhelp/provider/bufferedinputstream.hxx b/xmlhelp/source/cxxhelp/provider/bufferedinputstream.hxx
index 3cead43f76d6..643d4099eb93 100644
--- a/xmlhelp/source/cxxhelp/provider/bufferedinputstream.hxx
+++ b/xmlhelp/source/cxxhelp/provider/bufferedinputstream.hxx
@@ -100,11 +100,6 @@ namespace chelp {
css::uno::RuntimeException, std::exception ) override;
};
-
- extern css::uno::Reference<css::io::XInputStream>
- turnToSeekable(
- const css::uno::Reference<css::io::XInputStream>& xInputStream);
-
}
#endif // INCLUDED_XMLHELP_SOURCE_CXXHELP_PROVIDER_BUFFEREDINPUTSTREAM_HXX