summaryrefslogtreecommitdiff
path: root/package/source
diff options
context:
space:
mode:
Diffstat (limited to 'package/source')
-rw-r--r--package/source/xstor/owriteablestream.cxx2
-rw-r--r--package/source/xstor/xstorage.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/package/source/xstor/owriteablestream.cxx b/package/source/xstor/owriteablestream.cxx
index 16e04ac6ce76..40134c28a9c3 100644
--- a/package/source/xstor/owriteablestream.cxx
+++ b/package/source/xstor/owriteablestream.cxx
@@ -2849,7 +2849,7 @@ void SAL_CALL OWriteStream::setPropertyValue( const OUString& aPropertyName, con
throw lang::IllegalArgumentException(); // TODO
}
- m_pImpl->m_xNewRelInfoStream = xInRelStream;
+ m_pImpl->m_xNewRelInfoStream = std::move(xInRelStream);
m_pImpl->m_aNewRelInfo = uno::Sequence< uno::Sequence< beans::StringPair > >();
m_pImpl->m_nRelInfoStatus = RELINFO_CHANGED_STREAM;
}
diff --git a/package/source/xstor/xstorage.cxx b/package/source/xstor/xstorage.cxx
index e0550695e1dd..73ec8207f1b7 100644
--- a/package/source/xstor/xstorage.cxx
+++ b/package/source/xstor/xstorage.cxx
@@ -1172,7 +1172,7 @@ void OStorage_Impl::Commit()
}
else if ( !m_bCommited )
{
- m_xPackageFolder = xNewPackageFolder;
+ m_xPackageFolder = std::move(xNewPackageFolder);
m_bCommited = true;
}