diff options
author | Eike Rathke <erack@redhat.com> | 2012-11-17 00:39:07 +0100 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2012-11-17 00:39:11 +0100 |
commit | 21675d2d49be13ba48d4fb444b618944a454bd9c (patch) | |
tree | 1aa6c008dfc1e8351414f850fac865adfa8f316d | |
parent | 42455e14477b0923b7f0388c3c8672b0fbf8dfd5 (diff) |
use LanguageTag
Change-Id: Ie060f2357a17be818d34c9393ac4ac606331d081
-rw-r--r-- | sfx2/source/appl/linkmgr2.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sfx2/source/appl/linkmgr2.cxx b/sfx2/source/appl/linkmgr2.cxx index 9564a1857208..4f8a7a28b512 100644 --- a/sfx2/source/appl/linkmgr2.cxx +++ b/sfx2/source/appl/linkmgr2.cxx @@ -34,7 +34,7 @@ #include <svl/eitem.hxx> #include <svl/intitem.hxx> #include <unotools/localfilehelper.hxx> -#include <i18npool/mslangid.hxx> +#include <i18npool/languagetag.hxx> #include <sfx2/request.hxx> #include "fileobj.hxx" @@ -608,8 +608,7 @@ sal_Bool SvxInternalLink::Connect( sfx2::SvBaseLink* pLink ) { // first only loop over the DocumentShells the shells and find those // with the name: - com::sun::star::lang::Locale aLocale; - MsLangId::convertLanguageToLocale( LANGUAGE_SYSTEM, aLocale ); + com::sun::star::lang::Locale aLocale( LanguageTag( LANGUAGE_SYSTEM).getLocale()); CharClass aCC( aLocale ); TypeId aType( TYPE(SfxObjectShell) ); |