From 5a5433c8d199382ddd44a92d286b303c8ec1b533 Mon Sep 17 00:00:00 2001 From: Xisco Fauli Date: Fri, 26 Jun 2026 12:45:17 +0200 Subject: [PATCH] cid#1695406: Variable copied when it could be moved Change-Id: Idcd7ab97abd0532f43d8c2ecacf5ee35cd5325e4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/207350 Tested-by: Jenkins Reviewed-by: Xisco Fauli --- svx/source/xoutdev/fillbitmaplink.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/svx/source/xoutdev/fillbitmaplink.cxx b/svx/source/xoutdev/fillbitmaplink.cxx index ec4a79187b4c..b2827c31bd97 100644 --- a/svx/source/xoutdev/fillbitmaplink.cxx +++ b/svx/source/xoutdev/fillbitmaplink.cxx @@ -54,7 +54,7 @@ public: OUString aURL; sfx2::LinkManager::GetDisplayNames(this, nullptr, &aURL); - GraphicObject aGrfObj(aGrf); + GraphicObject aGrfObj(std::move(aGrf)); // Replace the item in all attribute sets via pool surrogates m_rPool.iterateItemSurrogates(