summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xmloff/source/core/xmlimp.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmloff/source/core/xmlimp.cxx b/xmloff/source/core/xmlimp.cxx
index 7fd0613130c9..149421ee58d0 100644
--- a/xmloff/source/core/xmlimp.cxx
+++ b/xmloff/source/core/xmlimp.cxx
@@ -920,7 +920,7 @@ void SAL_CALL SvXMLImport::endFastElement (sal_Int32 Element)
{
if (!maFastContexts.empty())
{
- uno::Reference<XFastContextHandler> xContext = maFastContexts.top();
+ uno::Reference<XFastContextHandler> xContext = std::move(maFastContexts.top());
maFastContexts.pop();
isFastContext = true;
xContext->endFastElement( Element );
@@ -935,7 +935,7 @@ void SAL_CALL SvXMLImport::endUnknownElement (const OUString & rPrefix, const OU
{
if (!maFastContexts.empty())
{
- uno::Reference<XFastContextHandler> xContext = maFastContexts.top();
+ uno::Reference<XFastContextHandler> xContext = std::move(maFastContexts.top());
maFastContexts.pop();
xContext->endUnknownElement( rPrefix, rLocalName );
xContext = nullptr;