[Libreoffice-commits] .: Branch 'libreoffice-3-3' - unotools/source
Petr Mladek
pmladek at kemper.freedesktop.org
Fri Feb 11 13:43:26 PST 2011
unotools/source/config/configmgr.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 29b510e2a77f65445831767fe2061a92b6b57279
Author: Petr Mladek <pmladek at suse.cz>
Date: Fri Feb 11 22:36:09 2011 +0100
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
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
More information about the Libreoffice-commits
mailing list