diff options
author | Petr Mladek <pmladek@suse.cz> | 2011-02-11 22:36:09 +0100 |
---|---|---|
committer | Petr Mladek <pmladek@suse.cz> | 2011-02-11 22:42:49 +0100 |
commit | 05cf0251b51784c5f3b44aeef27ccc07b01f1dcd (patch) | |
tree | a04a7678cfe9ed0fde96dfc8881592ea7fba8e2c /unotools/source | |
parent | 94caf6a8368b127e2d9e82c2bcb6c6e6958b68c2 (diff) |
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
Diffstat (limited to 'unotools/source')
-rw-r--r-- | unotools/source/config/configmgr.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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 |