summaryrefslogtreecommitdiff
path: root/package/source/xstor/oseekinstream.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'package/source/xstor/oseekinstream.cxx')
-rw-r--r--package/source/xstor/oseekinstream.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/source/xstor/oseekinstream.cxx b/package/source/xstor/oseekinstream.cxx
index 53bf7a3db989..4d6521aecbfc 100644
--- a/package/source/xstor/oseekinstream.cxx
+++ b/package/source/xstor/oseekinstream.cxx
@@ -33,7 +33,7 @@ OInputSeekStream::OInputSeekStream( OWriteStream_Impl& pImpl,
sal_Int32 nStorageType )
: OInputCompStream( pImpl, xStream, aProps, nStorageType )
{
- m_xSeekable = uno::Reference< io::XSeekable >( m_xStream, uno::UNO_QUERY );
+ m_xSeekable.set( m_xStream, uno::UNO_QUERY );
OSL_ENSURE( m_xSeekable.is(), "No seeking support!\n" );
}
@@ -42,7 +42,7 @@ OInputSeekStream::OInputSeekStream( uno::Reference < io::XInputStream > xStream,
sal_Int32 nStorageType )
: OInputCompStream( xStream, aProps, nStorageType )
{
- m_xSeekable = uno::Reference< io::XSeekable >( m_xStream, uno::UNO_QUERY );
+ m_xSeekable.set( m_xStream, uno::UNO_QUERY );
OSL_ENSURE( m_xSeekable.is(), "No seeking support!\n" );
}