diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-11-12 12:44:32 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-11-12 13:59:50 +0100 |
commit | 1a2926a995fdbdcdae0ca6407877084f3520e539 (patch) | |
tree | 4ac33d3d0f1d3941c6fe782633fe6e555c157c13 /xmloff/source/core | |
parent | a07c637a0e4fe0ab81db70c69decbc946ad37da9 (diff) |
use std::move when popping stuff off stacks
Change-Id: I6ba0ee8afee1a9579045643cd0118cf19599d5b9
Reviewed-on: https://gerrit.libreoffice.org/82497
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'xmloff/source/core')
-rw-r--r-- | xmloff/source/core/xmlimp.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmloff/source/core/xmlimp.cxx b/xmloff/source/core/xmlimp.cxx index 149421ee58d0..0b9c8eb2b8af 100644 --- a/xmloff/source/core/xmlimp.cxx +++ b/xmloff/source/core/xmlimp.cxx @@ -773,7 +773,7 @@ rName { // Get topmost context and remove it from the stack. - SvXMLImportContextRef xContext = maContexts.top(); + SvXMLImportContextRef xContext = std::move(maContexts.top()); maContexts.pop(); #ifdef DBG_UTIL |