diff options
Diffstat (limited to 'svx/source/unodraw/UnoNameItemTable.cxx')
-rw-r--r-- | svx/source/unodraw/UnoNameItemTable.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/unodraw/UnoNameItemTable.cxx b/svx/source/unodraw/UnoNameItemTable.cxx index 71569ae7ab51..67b1dcc7d59c 100644 --- a/svx/source/unodraw/UnoNameItemTable.cxx +++ b/svx/source/unodraw/UnoNameItemTable.cxx @@ -107,7 +107,7 @@ void SvxUnoNameItemTable::ImplInsertByName( const OUString& aName, const uno::An xNewItem->SetName(aName); xNewItem->PutValue(aElement, mnMemberId); xNewItem->SetWhich(mnWhich); - maItemSetVector.back()->Put(*xNewItem); + maItemSetVector.back()->Put(std::move(xNewItem)); } // XNameContainer @@ -172,7 +172,7 @@ void SAL_CALL SvxUnoNameItemTable::replaceByName( const OUString& aApiName, cons xNewItem->SetName(aName); if (!xNewItem->PutValue(aElement, mnMemberId) || !isValid(xNewItem.get())) throw lang::IllegalArgumentException(); - (*aIter)->Put(*xNewItem); + (*aIter)->Put(std::move(xNewItem)); return; } |