From debc8bd4753901102e536d311f2501dd9a63c200 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Mon, 13 Dec 2010 21:20:59 +0000 Subject: tidy RTL_CONSTASCII_USTRINGPARAM work --- unotools/source/config/configmgr.cxx | 5 ++--- 1 file 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")), -- cgit