summaryrefslogtreecommitdiff
path: root/svl/source/misc/strmadpt.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svl/source/misc/strmadpt.cxx')
-rw-r--r--svl/source/misc/strmadpt.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/svl/source/misc/strmadpt.cxx b/svl/source/misc/strmadpt.cxx
index 399a4cc03efd..a661bfa32755 100644
--- a/svl/source/misc/strmadpt.cxx
+++ b/svl/source/misc/strmadpt.cxx
@@ -222,8 +222,7 @@ bool SvInputStream::open()
SetError(ERRCODE_IO_INVALIDDEVICE);
return false;
}
- m_xSeekable
- = uno::Reference< io::XSeekable >(m_xStream, uno::UNO_QUERY);
+ m_xSeekable.set(m_xStream, uno::UNO_QUERY);
if (!m_xSeekable.is())
m_pPipe = new SvDataPipe_Impl;
}