[Libreoffice-commits] .: 2 commits - svtools/source unotools/source
Caolán McNamara
caolan at kemper.freedesktop.org
Mon Dec 13 13:21:07 PST 2010
svtools/source/uno/unoiface.cxx | 2 --
unotools/source/config/configmgr.cxx | 5 ++---
2 files changed, 2 insertions(+), 5 deletions(-)
New commits:
commit 9bbc69d591fb9ac6bea61749825a9c20460a121d
Author: Caolán McNamara <caolanm at redhat.com>
Date: Mon Dec 13 21:20:59 2010 +0000
tidy RTL_CONSTASCII_USTRINGPARAM work
diff --git a/unotools/source/config/configmgr.cxx b/unotools/source/config/configmgr.cxx
index 49ef013..aee6b0e 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")),
commit 9ba05db1b34d91a65e6d04e37a1bf1f283b6010c
Author: Caolán McNamara <caolanm at redhat.com>
Date: Mon Dec 13 21:18:05 2010 +0000
remove spurious commented out misuse of createFromAscii
diff --git a/svtools/source/uno/unoiface.cxx b/svtools/source/uno/unoiface.cxx
index 28d0016..30932c7 100644
--- a/svtools/source/uno/unoiface.cxx
+++ b/svtools/source/uno/unoiface.cxx
@@ -1544,8 +1544,6 @@ void SVTXRoadmap::elementRemoved( const ::com::sun::star::container::ContainerEv
sal_Int32 DelIndex = 0;
_rEvent.Accessor >>= DelIndex;
pField->DeleteRoadmapItem(DelIndex);
-// pField->GetCurrentRoadmapItem()
-// setProperty(::rtl::OUString.createFromAscii( "CurrentItem" )aAny,
}
}
More information about the Libreoffice-commits
mailing list