diff options
author | Caolán McNamara <caolan.mcnamara@collabora.com> | 2023-12-22 21:45:02 +0000 |
---|---|---|
committer | Caolán McNamara <caolan.mcnamara@collabora.com> | 2023-12-23 14:40:16 +0100 |
commit | cee019927fe3beaf20653e1a98beb85147d14aad (patch) | |
tree | 17907d69919b45cbe76de2ac12ab9fe116ef682c /comphelper | |
parent | cid#1471704 Assignment of overlapping memory (diff) | |
download | core-cee019927fe3beaf20653e1a98beb85147d14aad.tar.gz core-cee019927fe3beaf20653e1a98beb85147d14aad.zip |
cid#1545209 COPY_INSTEAD_OF_MOVE
Change-Id: Idd82be5f2354787735f4e47e8cfe9e9a7371a973
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161203
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Diffstat (limited to 'comphelper')
-rw-r--r-- | comphelper/source/streaming/seqinputstreamserv.cxx | 3 |
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; } |