summaryrefslogtreecommitdiff
path: root/unotools/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2010-12-13 21:20:59 +0000
committerCaolán McNamara <caolanm@redhat.com>2010-12-13 21:20:59 +0000
commitdebc8bd4753901102e536d311f2501dd9a63c200 (patch)
tree06674fd8b69d37225ba9916d75a904ff2fdfdb69 /unotools/source
parent243d906add67c10618c4f60aa1deb9bf80c15082 (diff)
tidy RTL_CONSTASCII_USTRINGPARAM work
Diffstat (limited to 'unotools/source')
-rw-r--r--unotools/source/config/configmgr.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/unotools/source/config/configmgr.cxx b/unotools/source/config/configmgr.cxx
index 5509e0714e20..fdd141c2d004 100644
--- a/unotools/source/config/configmgr.cxx
+++ b/unotools/source/config/configmgr.cxx
@@ -375,7 +375,7 @@ Any ConfigManager::GetDirectConfigProperty(ConfigProperty eProp)
::rtl::OUString sBrandName;
LanguageType nType = MsLangId::getSystemUILanguage();
if ( nType == LANGUAGE_PORTUGUESE_BRAZILIAN )
- sBrandName = OUString::createFromAscii("BrOffice");
+ sBrandName = OUString(RTL_CONSTASCII_USTRINGPARAM("BrOffice"));
else
sBrandName = BrandName::get();
@@ -444,9 +444,8 @@ Any ConfigManager::GetDirectConfigProperty(ConfigProperty eProp)
if (eProp == PRODUCTEXTENSION) {
rtl::OUString name(
- rtl::OUString(
RTL_CONSTASCII_USTRINGPARAM(
- "${BRAND_BASE_DIR}/program/edition/edition.ini")));
+ "${BRAND_BASE_DIR}/program/edition/edition.ini"));
rtl::Bootstrap::expandMacros(name);
if (rtl::Bootstrap(name).getFrom(
rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("EDITIONNAME")),