diff options
author | Noel Grandin <noel@peralex.com> | 2016-08-04 10:07:15 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-08-05 06:29:03 +0000 |
commit | cbf9b547b685ef0dd3cdf143987176b01c007d56 (patch) | |
tree | 654a5e6be0ec8ed1ff99a5a55e02d3c606fe3aca /editeng/source/items | |
parent | f22fa994603311a36f467a6afea19bc4fad03814 (diff) |
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 <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'editeng/source/items')
-rw-r--r-- | editeng/source/items/xmlcnitm.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |