diff options
author | Eike Rathke <erack@redhat.com> | 2013-07-13 02:54:05 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2013-07-13 11:55:16 +0200 |
commit | 358d1a99484bcc02900bd200a7606a7bf3298cac (patch) | |
tree | 031f808141dbc712553b8a4a029a354a2699a622 /starmath | |
parent | 5d1a8e0d47b6d6e9e3e5735d0ee52fa0b4782202 (diff) |
use static LanguageTag::convertTo...() for standalone conversions
If no LanguageTag instance is at hand use the static methods to convert
between BCP 47 string, Locale and MS-LangID instead of creating
temporary instances.
Change-Id: I9597f768078eb81c840e84a5db5617f26bb7dc09
Diffstat (limited to 'starmath')
-rw-r--r-- | starmath/source/parse.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/starmath/source/parse.cxx b/starmath/source/parse.cxx index aa3a66f09d6e..169ce5f032d5 100644 --- a/starmath/source/parse.cxx +++ b/starmath/source/parse.cxx @@ -2467,7 +2467,7 @@ void SmParser::Error(SmParseError eError) SmParser::SmParser() - : m_aDotLoc( LanguageTag( LANGUAGE_ENGLISH_US ).getLocale() ) + : m_aDotLoc( LanguageTag::convertToLocale( LANGUAGE_ENGLISH_US ) ) { m_eConversion = CONVERT_NONE; bImportSymNames = m_bExportSymNames = false; |