diff options
author | Caolán McNamara <caolan.mcnamara@collabora.com> | 2024-11-08 10:00:27 +0000 |
---|---|---|
committer | Caolán McNamara <caolan.mcnamara@collabora.com> | 2024-11-08 12:33:08 +0100 |
commit | 06221a8c08e8898491a73ac8c6cbb42410f768a8 (patch) | |
tree | ebf87e449d7e52d079fe9762cf51badffb022601 | |
parent | 342483965ded93b1ba3a0675f612c884a1412d50 (diff) |
cid#1634530 COPY_INSTEAD_OF_MOVE
Change-Id: Iae03c8a982659503d7f73dbabbcece7bdb9c8e55
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176259
Tested-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
-rw-r--r-- | editeng/source/items/frmitems.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editeng/source/items/frmitems.cxx b/editeng/source/items/frmitems.cxx index 96db6916d454..073ad972e9ac 100644 --- a/editeng/source/items/frmitems.cxx +++ b/editeng/source/items/frmitems.cxx @@ -4392,7 +4392,7 @@ bool SvxBrushItem::PutValue( const uno::Any& rVal, sal_uInt8 nMemberId ) ASSERT_CHANGE_REFCOUNTED_ITEM; std::unique_ptr<GraphicObject> xOldGrfObj(std::move(xGraphicObject)); - xGraphicObject.reset(new GraphicObject(aGraphic)); + xGraphicObject.reset(new GraphicObject(std::move(aGraphic))); ApplyGraphicTransparency_Impl(); xOldGrfObj.reset(); |