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 <xiscofauli@libreoffice.org>
This commit is contained in:
Xisco Fauli
2026-06-26 14:57:52 +02:00
parent f69f0d633e
commit 5a5433c8d1
+1 -1
View File
@@ -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(