svx/source/customshapes/EnhancedCustomShapeFontWork.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 520df67194659212f6a00dbf341c64439e446b0b Author: Caolán McNamara <[email protected]> AuthorDate: Mon Dec 8 09:00:17 2025 +0000 Commit: Xisco Fauli <[email protected]> CommitDate: Thu Dec 11 09:29:36 2025 +0100 cid#1660011 Variable copied when it could be moved Change-Id: Id06864f4c7b455446f8d7f2fb395c459b4af29fe Reviewed-on: https://gerrit.libreoffice.org/c/core/+/195215 Reviewed-by: Caolán McNamara <[email protected]> Tested-by: Jenkins (cherry picked from commit 315ccfcadf06fb9a226734185bcac1271f421776) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/195298 Reviewed-by: Xisco Fauli <[email protected]> diff --git a/svx/source/customshapes/EnhancedCustomShapeFontWork.cxx b/svx/source/customshapes/EnhancedCustomShapeFontWork.cxx index 366dd891b67e..34b985b13ea0 100644 --- a/svx/source/customshapes/EnhancedCustomShapeFontWork.cxx +++ b/svx/source/customshapes/EnhancedCustomShapeFontWork.cxx @@ -390,7 +390,7 @@ static void GetTextAreaOutline( aSingleCharacterUnion.Union( aCharacterData.aBoundRect ); } } - rParagraph.vCharacters.push_back( aCharacterData ); + rParagraph.vCharacters.push_back(std::move(aCharacterData)); } for ( auto& rCharacter : rParagraph.vCharacters ) {
