From 05cf0251b51784c5f3b44aeef27ccc07b01f1dcd Mon Sep 17 00:00:00 2001 From: Petr Mladek Date: Fri, 11 Feb 2011 22:36:09 +0100 Subject: use "BrOffice" name if the Brazilian UI translation is used (bnc#33744) it is not enough to check the system UI setting Signed off by Michael Meeks --- unotools/source/config/configmgr.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unotools/source/config/configmgr.cxx b/unotools/source/config/configmgr.cxx index 956561648f99..13583c5d841b 100644 --- a/unotools/source/config/configmgr.cxx +++ b/unotools/source/config/configmgr.cxx @@ -403,7 +403,7 @@ Any ConfigManager::GetDirectConfigProperty(ConfigProperty eProp) ::rtl::OUString sBrandName; #ifdef ENABLE_BROFFICE - LanguageType nType = MsLangId::getSystemUILanguage(); + LanguageType nType = MsLangId::getRealLanguage( LANGUAGE_NONE ); if ( nType == LANGUAGE_PORTUGUESE_BRAZILIAN ) sBrandName = OUString::createFromAscii("BrOffice"); else -- cgit v1.2.3