eliminate unnecessary temporary SvtLanguageTable instance

Change-Id: I64fba0071523af67eef72a4b92970cd7052b5c2e
This commit is contained in:
Eike Rathke
2014-05-06 14:02:08 +01:00
parent 9124f7e8bc
commit 9c66d0312f

View File

@@ -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?