summaryrefslogtreecommitdiff
path: root/unoxml/source/rdf/CLiteral.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'unoxml/source/rdf/CLiteral.cxx')
-rw-r--r--unoxml/source/rdf/CLiteral.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/unoxml/source/rdf/CLiteral.cxx b/unoxml/source/rdf/CLiteral.cxx
index bab788093f76..b3733ff164f6 100644
--- a/unoxml/source/rdf/CLiteral.cxx
+++ b/unoxml/source/rdf/CLiteral.cxx
@@ -120,7 +120,7 @@ void SAL_CALL CLiteral::initialize(const css::uno::Sequence< css::uno::Any > & a
throw css::lang::IllegalArgumentException(
u"CLiteral::initialize: argument is null"_ustr, *this, 1);
}
- m_xDatatype = xURI;
+ m_xDatatype = std::move(xURI);
} else {
throw css::lang::IllegalArgumentException(
u"CLiteral::initialize: argument must be string or URI"_ustr, *this, 1);