diff options
author | Petr Mladek <pmladek@suse.cz> | 2010-12-03 16:10:23 +0100 |
---|---|---|
committer | Petr Mladek <pmladek@suse.cz> | 2010-12-03 16:11:22 +0100 |
commit | 8e41cfb233e9b05804c459bcd9e6c6f403046649 (patch) | |
tree | 992964f6158329f832a2689838c058680d1bb739 /unotools/source/config/configmgr.cxx | |
parent | 4ef7c0de84ad9068a73d553557747f63fe6da264 (diff) |
use BrOffice name only with --enable-broffice (fdo#31770)
reviewed by Michael Meeks <mmeeks@novell.com>
Diffstat (limited to 'unotools/source/config/configmgr.cxx')
-rw-r--r-- | unotools/source/config/configmgr.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/unotools/source/config/configmgr.cxx b/unotools/source/config/configmgr.cxx index ec1b201c3d23..956561648f99 100644 --- a/unotools/source/config/configmgr.cxx +++ b/unotools/source/config/configmgr.cxx @@ -402,10 +402,12 @@ Any ConfigManager::GetDirectConfigProperty(ConfigProperty eProp) Any aRet; ::rtl::OUString sBrandName; +#ifdef ENABLE_BROFFICE LanguageType nType = MsLangId::getSystemUILanguage(); if ( nType == LANGUAGE_PORTUGUESE_BRAZILIAN ) sBrandName = OUString::createFromAscii("BrOffice"); else +#endif sBrandName = BrandName::get(); if ( eProp == PRODUCTNAME && sBrandName.getLength() ) |