oox/source/ole/vbacontrol.cxx | 3 +-- sd/source/filter/eppt/pptexanimations.cxx | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-)
New commits: commit 9658242b104254cc72a3221306b399a4efdf351b Author: Caolán McNamara <caolan.mcnam...@collabora.com> AuthorDate: Mon Jul 28 19:30:28 2025 +0100 Commit: Caolán McNamara <caolan.mcnam...@collabora.com> CommitDate: Tue Jul 29 00:21:41 2025 +0200 cid#1659609 Variable copied when it could be moved Change-Id: I95c717519dda333d8cf24fdb7464cdc30ccce93d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/188496 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnam...@collabora.com> diff --git a/oox/source/ole/vbacontrol.cxx b/oox/source/ole/vbacontrol.cxx index a194a910f4b8..1160df328d3f 100644 --- a/oox/source/ole/vbacontrol.cxx +++ b/oox/source/ole/vbacontrol.cxx @@ -661,8 +661,7 @@ void VbaFormControl::finalizeEmbeddedControls() // open a new control group, if the last group is an option group if( bLastWasOptionButton || aControlGroups.empty() ) { - VbaFormControlVectorRef xControlGroup = std::make_shared<VbaFormControlVector>(); - aControlGroups.push_back( xControlGroup ); + aControlGroups.push_back(std::make_shared<VbaFormControlVector>()); } // append the control to the last control group VbaFormControlVector& rLastGroup = *aControlGroups.back(); commit a62bd12abe3e03e09317ff37476a5744c79d0f5f Author: Caolán McNamara <caolan.mcnam...@collabora.com> AuthorDate: Mon Jul 28 19:28:45 2025 +0100 Commit: Caolán McNamara <caolan.mcnam...@collabora.com> CommitDate: Tue Jul 29 00:21:28 2025 +0200 cid#1659600 Variable copied when it could be moved Change-Id: Ib8dc2415dc73ee87721992368e62312839cfad62 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/188494 Tested-by: Caolán McNamara <caolan.mcnam...@collabora.com> Reviewed-by: Caolán McNamara <caolan.mcnam...@collabora.com> diff --git a/sd/source/filter/eppt/pptexanimations.cxx b/sd/source/filter/eppt/pptexanimations.cxx index 79588352cfb2..3c19f018a588 100644 --- a/sd/source/filter/eppt/pptexanimations.cxx +++ b/sd/source/filter/eppt/pptexanimations.cxx @@ -384,8 +384,7 @@ void AnimationExporter::processAfterEffectNodes( const Reference< XAnimationNode if (p != aUserData.end()) p->Value >>= xMaster; - AfterEffectNodePtr pAfterEffectNode = std::make_shared<AfterEffectNode>( xChildNode3, xMaster ); - maAfterEffectNodes.push_back( pAfterEffectNode ); + maAfterEffectNodes.push_back(std::make_shared<AfterEffectNode>(xChildNode3, xMaster)); } break; }