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:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user