sfx2/source/appl/linkmgr2.cxx |    5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

New commits:
commit 21675d2d49be13ba48d4fb444b618944a454bd9c
Author: Eike Rathke <er...@redhat.com>
Date:   Sat Nov 17 00:39:07 2012 +0100

    use LanguageTag
    
    Change-Id: Ie060f2357a17be818d34c9393ac4ac606331d081

diff --git a/sfx2/source/appl/linkmgr2.cxx b/sfx2/source/appl/linkmgr2.cxx
index 9564a18..4f8a7a2 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) );
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to