[Libreoffice-commits] core.git: sd/source

Eike Rathke erack at redhat.com
Tue May 6 06:06:52 PDT 2014


 sd/source/ui/docshell/docshel3.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 9c66d0312f1f19b86fe3747b9c1ab6ee68b872fd
Author: Eike Rathke <erack at redhat.com>
Date:   Tue May 6 14:02:08 2014 +0100

    eliminate unnecessary temporary SvtLanguageTable instance
    
    Change-Id: I64fba0071523af67eef72a4b92970cd7052b5c2e

diff --git a/sd/source/ui/docshell/docshel3.cxx b/sd/source/ui/docshell/docshel3.cxx
index e03d556..a687dca 100644
--- a/sd/source/ui/docshell/docshel3.cxx
+++ b/sd/source/ui/docshell/docshel3.cxx
@@ -108,7 +108,7 @@ static void lcl_setLanguageForObj( SdrObject *pObj, LanguageType nLang, bool bLa
 
 static void lcl_setLanguage( const SdDrawDocument *pDoc, const OUString &rLanguage, bool bLanguageNone = false )
 {
-    LanguageType nLang = SvtLanguageTable().GetType( rLanguage );
+    LanguageType nLang = SvtLanguageTable::GetLanguageType( rLanguage );
 
     // Do it for SdDrawDocument->SetLanguage as well?
 


More information about the Libreoffice-commits mailing list