eliminate unnecessary temporary SvtLanguageTable instance
Change-Id: I64fba0071523af67eef72a4b92970cd7052b5c2e
This commit is contained in:
@@ -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?
|
||||
|
||||
|
Reference in New Issue
Block a user