summaryrefslogtreecommitdiff
path: root/sw/source
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-08-04 10:07:15 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-08-05 06:29:03 +0000
commitcbf9b547b685ef0dd3cdf143987176b01c007d56 (patch)
tree654a5e6be0ec8ed1ff99a5a55e02d3c606fe3aca /sw/source
parentf22fa994603311a36f467a6afea19bc4fad03814 (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 'sw/source')
-rw-r--r--sw/source/filter/ww8/docxattributeoutput.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/filter/ww8/docxattributeoutput.cxx b/sw/source/filter/ww8/docxattributeoutput.cxx
index e77e164ad8a9..b489623cccb8 100644
--- a/sw/source/filter/ww8/docxattributeoutput.cxx
+++ b/sw/source/filter/ww8/docxattributeoutput.cxx
@@ -4894,7 +4894,7 @@ void DocxAttributeOutput::WritePostponedDMLDrawing()
}
m_bStartedParaSdt = bStartedParaSdt;
- m_pPostponedOLEs.reset(pPostponedOLEs.release());
+ m_pPostponedOLEs = std::move(pPostponedOLEs);
}
void DocxAttributeOutput::OutputFlyFrame_Impl( const ww8::Frame &rFrame, const Point& rNdTopLeft )