[PATCH] use "BrOffice" name if the Brazilian UI translation is used (bnc#33744)
Petr Mladek
pmladek at suse.cz
Fri Feb 11 13:36:09 PST 2011
it is not enough to check the system UI setting
Signed off by Michael Meeks
---
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 7b57234..fa94533 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
--
1.7.3.4
--=-GR8CDLQZlW3zqkBQHNhc--
More information about the LibreOffice
mailing list