svx/source/customshapes/EnhancedCustomShapeFontWork.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 315ccfcadf06fb9a226734185bcac1271f421776 Author: Caolán McNamara <[email protected]> AuthorDate: Mon Dec 8 09:00:17 2025 +0000 Commit: Caolán McNamara <[email protected]> CommitDate: Mon Dec 8 13:50:25 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 diff --git a/svx/source/customshapes/EnhancedCustomShapeFontWork.cxx b/svx/source/customshapes/EnhancedCustomShapeFontWork.cxx index c66d4e09d046..be5884188cb5 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 ) {
