diff options
author | Eike Rathke <erack@redhat.com> | 2012-11-19 15:49:09 +0100 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2012-11-19 15:52:52 +0100 |
commit | 8ac150eb163b4ce200068313db26121a8b808d46 (patch) | |
tree | 325ef4441610197f3a8ba4cec128ee35b1db8411 /sw/source/filter/html/htmlcss1.cxx | |
parent | ce1d0822d0a0fdb4ed3f2583cc1f63ef98381097 (diff) |
use LanguageTag
Change-Id: I4ffa1aa2dce0bf1d0c87d56f72589112ec1222a1
Diffstat (limited to 'sw/source/filter/html/htmlcss1.cxx')
-rw-r--r-- | sw/source/filter/html/htmlcss1.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/filter/html/htmlcss1.cxx b/sw/source/filter/html/htmlcss1.cxx index 9ff6576a85a1..df4d50f13d8e 100644 --- a/sw/source/filter/html/htmlcss1.cxx +++ b/sw/source/filter/html/htmlcss1.cxx @@ -30,7 +30,7 @@ #include <svl/itemiter.hxx> #include <svl/whiter.hxx> #include <svl/urihelper.hxx> -#include <i18npool/mslangid.hxx> +#include <i18npool/languagetag.hxx> #include <sfx2/docfile.hxx> #include <vcl/svapp.hxx> #include <editeng/fhgtitem.hxx> @@ -1952,7 +1952,7 @@ sal_Bool SwHTMLParser::ParseStyleOptions( const String &rStyle, if( pLang && pLang->Len() ) { - LanguageType eLang = MsLangId::convertIsoStringToLanguage( *pLang ); + LanguageType eLang = LanguageTag( *pLang ).getLanguageType(); if( LANGUAGE_DONTKNOW != eLang ) { SvxLanguageItem aLang( eLang, RES_CHRATR_LANGUAGE ); |