summaryrefslogtreecommitdiffstats
path: root/comphelper/source/streaming/seqinputstreamserv.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'comphelper/source/streaming/seqinputstreamserv.cxx')
-rw-r--r--comphelper/source/streaming/seqinputstreamserv.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/comphelper/source/streaming/seqinputstreamserv.cxx b/comphelper/source/streaming/seqinputstreamserv.cxx
index 5d10029a5024..22fe8f8f0ea1 100644
--- a/comphelper/source/streaming/seqinputstreamserv.cxx
+++ b/comphelper/source/streaming/seqinputstreamserv.cxx
@@ -196,9 +196,8 @@ void SAL_CALL SequenceInputStreamService::initialize( const uno::Sequence< css::
uno::Reference< io::XInputStream > xInputStream(
static_cast< ::cppu::OWeakObject* >( new ::comphelper::SequenceInputStream( aSeq ) ),
uno::UNO_QUERY_THROW );
- uno::Reference< io::XSeekable > xSeekable( xInputStream, uno::UNO_QUERY_THROW );
+ m_xSeekable.set(xInputStream, uno::UNO_QUERY_THROW);
m_xInputStream = xInputStream;
- m_xSeekable = xSeekable;
m_bInitialized = true;
}