summaryrefslogtreecommitdiffstats
path: root/i18npool/inc/collatorImpl.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'i18npool/inc/collatorImpl.hxx')
-rw-r--r--i18npool/inc/collatorImpl.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/i18npool/inc/collatorImpl.hxx b/i18npool/inc/collatorImpl.hxx
index 150f96bd7aa6..4d2eee6b7fa9 100644
--- a/i18npool/inc/collatorImpl.hxx
+++ b/i18npool/inc/collatorImpl.hxx
@@ -24,8 +24,8 @@
#include <cppuhelper/implbase.hxx>
#include <com/sun/star/lang/XServiceInfo.hpp>
+#include <utility>
#include <vector>
-#include <memory>
#include <optional>
namespace com::sun::star::i18n { class XLocaleData5; }
@@ -80,8 +80,8 @@ private:
OUString algorithm;
OUString service;
css::uno::Reference < XCollator > xC;
- lookupTableItem(const css::lang::Locale& rLocale, const OUString& _algorithm, const OUString& _service,
- css::uno::Reference < XCollator > const & _xC) : aLocale(rLocale), algorithm(_algorithm), service(_service), xC(_xC) {}
+ lookupTableItem(css::lang::Locale _aLocale, OUString _algorithm, OUString _service,
+ css::uno::Reference < XCollator > _xC) : aLocale(std::move(_aLocale)), algorithm(std::move(_algorithm)), service(std::move(_service)), xC(std::move(_xC)) {}
bool equals(const css::lang::Locale& rLocale, std::u16string_view _algorithm) {
return aLocale.Language == rLocale.Language &&
aLocale.Country == rLocale.Country &&