summaryrefslogtreecommitdiff
path: root/lingucomponent
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-05-03 13:27:21 +0200
committerStephan Bergmann <sbergman@redhat.com>2018-05-03 13:27:21 +0200
commite56702c41bc84a4ddeaad23a59b66aee6bd35a6c (patch)
treecc96f54ab2845aaeed4f4a31d8ec94d4ade01e7e /lingucomponent
parent2bf4d69e0bfa98d641939e62945a7f8915441297 (diff)
loplugin:staticaccess
Change-Id: Ic62cdd1fd2ba2fe0ecda49505cf7047457d33b87
Diffstat (limited to 'lingucomponent')
-rw-r--r--lingucomponent/source/numbertext/numbertext.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/lingucomponent/source/numbertext/numbertext.cxx b/lingucomponent/source/numbertext/numbertext.cxx
index e86278d851f4..237aaa46ba01 100644
--- a/lingucomponent/source/numbertext/numbertext.cxx
+++ b/lingucomponent/source/numbertext/numbertext.cxx
@@ -143,10 +143,10 @@ OUString SAL_CALL NumberText_Impl::getNumberText(const OUString& rText, const Lo
aCode += "-" + aCountry;
OString aLangCode(OUStringToOString(aCode, RTL_TEXTENCODING_ASCII_US));
OString aInput(OUStringToOString(rText, RTL_TEXTENCODING_UTF8));
- std::wstring aResult = m_aNumberText.string2wstring(aInput.getStr());
+ std::wstring aResult = Numbertext::string2wstring(aInput.getStr());
bool result = m_aNumberText.numbertext(aResult, aLangCode.getStr());
DBG_ASSERT(result, "numbertext: false");
- OString aResult2(m_aNumberText.wstring2string(aResult).c_str());
+ OString aResult2(Numbertext::wstring2string(aResult).c_str());
return OUString::fromUtf8(aResult2);
#else
return rText;