summaryrefslogtreecommitdiff
path: root/stoc/source/uriproc/UriReference.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'stoc/source/uriproc/UriReference.cxx')
-rw-r--r--stoc/source/uriproc/UriReference.cxx9
1 files changed, 5 insertions, 4 deletions
diff --git a/stoc/source/uriproc/UriReference.cxx b/stoc/source/uriproc/UriReference.cxx
index e8f7db0bfc4a..9c7c7962c66a 100644
--- a/stoc/source/uriproc/UriReference.cxx
+++ b/stoc/source/uriproc/UriReference.cxx
@@ -25,16 +25,17 @@
#include <rtl/ustrbuf.hxx>
#include <rtl/ustring.hxx>
+#include <utility>
#include <sal/types.h>
using stoc::uriproc::UriReference;
UriReference::UriReference(
- OUString const & scheme, bool bHasAuthority,
- OUString const & authority, OUString const & path,
+ OUString scheme, bool bHasAuthority,
+ OUString const & authority, OUString path,
bool bHasQuery, OUString const & query):
- m_path(path),
- m_scheme(scheme),
+ m_path(std::move(path)),
+ m_scheme(std::move(scheme)),
m_authority(authority),
m_query(query),
m_hasAuthority(bHasAuthority),