oox/source/export/chartexport.cxx | 2 +- sfx2/source/doc/docfile.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
New commits: commit 4db31bcdc98a9e885ac1e0153e7650167678d17f Author: Caolán McNamara <[email protected]> AuthorDate: Sun Jun 22 20:04:44 2025 +0100 Commit: Caolán McNamara <[email protected]> CommitDate: Sun Jun 22 22:42:20 2025 +0200 cid#1655084 COPY_INSTEAD_OF_MOVE and cid#1655079 COPY_INSTEAD_OF_MOVE Change-Id: I6fa6b1cde1370376965c97a867423b0a6ad0fd86 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/186801 Reviewed-by: Caolán McNamara <[email protected]> Tested-by: Caolán McNamara <[email protected]> diff --git a/oox/source/export/chartexport.cxx b/oox/source/export/chartexport.cxx index d99e6e3180e1..71bcf02707f0 100644 --- a/oox/source/export/chartexport.cxx +++ b/oox/source/export/chartexport.cxx @@ -451,7 +451,7 @@ static OUString lcl_flattenStringSequence( const Sequence< OUString > & rSequenc return aResult.makeStringAndClear(); } -static void lcl_writeChartexString(FSHelperPtr pFS, std::u16string_view sOut) +static void lcl_writeChartexString(const FSHelperPtr& pFS, std::u16string_view sOut) { pFS->startElement(FSNS(XML_cx, XML_tx)); // cell range doesn't seem to be supported in chartex? diff --git a/sfx2/source/doc/docfile.cxx b/sfx2/source/doc/docfile.cxx index a0ef7b2bc210..4a1c6cc07256 100644 --- a/sfx2/source/doc/docfile.cxx +++ b/sfx2/source/doc/docfile.cxx @@ -1788,7 +1788,7 @@ SfxMedium::TryEncryptedInnerPackage(uno::Reference<embed::XStorage> const & xSto } // success: pImpl->m_bODFWholesomeEncryption = true; - pImpl->m_xODFDecryptedInnerPackageStream = xDecryptedInnerPackageStream; + pImpl->m_xODFDecryptedInnerPackageStream = std::move(xDecryptedInnerPackageStream); pImpl->m_xODFEncryptedOuterStorage = xStorage; pImpl->xStorage = xRet; }
