From cbf9b547b685ef0dd3cdf143987176b01c007d56 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 4 Aug 2016 10:07:15 +0200 Subject: use std::move in a few places found by git grep -n '.reset.*.release' Change-Id: I498709bd32b21d9dbbaa73603ce21d21c274f8dc Reviewed-on: https://gerrit.libreoffice.org/27863 Tested-by: Jenkins Reviewed-by: Noel Grandin --- editeng/source/items/xmlcnitm.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'editeng/source/items') diff --git a/editeng/source/items/xmlcnitm.cxx b/editeng/source/items/xmlcnitm.cxx index 96cbd49166cc..07883f67e6c5 100644 --- a/editeng/source/items/xmlcnitm.cxx +++ b/editeng/source/items/xmlcnitm.cxx @@ -141,7 +141,7 @@ bool SvXMLAttrContainerItem::PutValue( const css::uno::Any& rVal, sal_uInt8 /*nM } if( nAttr == nCount ) - pImpl.reset( pNewImpl.release() ); + pImpl = std::move(pNewImpl); else return false; } -- cgit