summaryrefslogtreecommitdiff
path: root/sw/source/core/bastyp/calc.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/bastyp/calc.cxx')
-rw-r--r--sw/source/core/bastyp/calc.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/bastyp/calc.cxx b/sw/source/core/bastyp/calc.cxx
index 4c6f2258dc57..685e7adac17a 100644
--- a/sw/source/core/bastyp/calc.cxx
+++ b/sw/source/core/bastyp/calc.cxx
@@ -235,7 +235,7 @@ SwCalc::SwCalc( SwDoc& rD )
{
m_pCharClass = new CharClass( ::comphelper::getProcessComponentContext(), aLanguageTag );
}
- m_xLocaleDataWrapper.reset(new LocaleDataWrapper( aLanguageTag ));
+ m_xLocaleDataWrapper.reset(new LocaleDataWrapper( std::move(aLanguageTag) ));
m_sCurrSym = comphelper::string::strip(m_xLocaleDataWrapper->getCurrSymbol(), ' ');
m_sCurrSym = m_pCharClass->lowercase( m_sCurrSym );