diff options
Diffstat (limited to 'i18npool/inc/breakiteratorImpl.hxx')
-rw-r--r-- | i18npool/inc/breakiteratorImpl.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/i18npool/inc/breakiteratorImpl.hxx b/i18npool/inc/breakiteratorImpl.hxx index c27645a60ef2..a2700b7a9bf9 100644 --- a/i18npool/inc/breakiteratorImpl.hxx +++ b/i18npool/inc/breakiteratorImpl.hxx @@ -22,6 +22,7 @@ #include <com/sun/star/i18n/XBreakIterator.hpp> #include <cppuhelper/implbase.hxx> +#include <utility> #include <vector> namespace com::sun::star::uno { class XComponentContext; } @@ -103,7 +104,7 @@ protected: private: struct lookupTableItem { - lookupTableItem(const css::lang::Locale& _aLocale, css::uno::Reference < XBreakIterator > const & _xBI) : aLocale(_aLocale), xBI(_xBI) {}; + lookupTableItem(css::lang::Locale _aLocale, css::uno::Reference < XBreakIterator > _xBI) : aLocale(std::move(_aLocale)), xBI(std::move(_xBI)) {}; css::lang::Locale aLocale; css::uno::Reference < XBreakIterator > xBI; }; |