diff options
author | Eike Rathke <erack@redhat.com> | 2012-11-16 23:22:11 +0100 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2012-11-16 23:25:22 +0100 |
commit | 378e437fbe313e87b7e56f8f0a1fc4009470679c (patch) | |
tree | 7a1d6aea330b484521f7625acc5873546f5508cd /editeng/source/outliner | |
parent | 9e818a2381e75928fbd2a208f79ff67712bdad59 (diff) |
use LanguageTag
Change-Id: If056193c803f70f8707373ed7ff7b1abbf953852
Diffstat (limited to 'editeng/source/outliner')
-rw-r--r-- | editeng/source/outliner/outlvw.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/editeng/source/outliner/outlvw.cxx b/editeng/source/outliner/outlvw.cxx index d96d7556afed..eb3f877fcde6 100644 --- a/editeng/source/outliner/outlvw.cxx +++ b/editeng/source/outliner/outlvw.cxx @@ -28,7 +28,7 @@ #include <editeng/fhgtitem.hxx> #include <svl/style.hxx> -#include <i18npool/mslangid.hxx> +#include <i18npool/languagetag.hxx> #define _OUTLINER_CXX #include <editeng/outliner.hxx> @@ -1325,7 +1325,7 @@ bool EDITENG_DLLPUBLIC GetStatusValueForThesaurusFromContext( aText = pEditEngine->GetText( aTextSel ); aTextSel.Adjust(); LanguageType nLang = pEditEngine->GetLanguage( aTextSel.nStartPara, aTextSel.nStartPos ); - String aLangText( MsLangId::convertLanguageToIsoString( nLang ) ); + String aLangText( LanguageTag( nLang ).getBcp47() ); // set word and locale to look up as status value String aStatusVal( aText ); |