summaryrefslogtreecommitdiff
path: root/cui/source/customize/selector.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-08-24 01:03:19 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-08-24 11:21:42 +0100
commite56c8606952e99d7ba1cfc5ff1c8b2ea0b533373 (patch)
treea6e6f090c38aee21f5128939fc45952aa180c600 /cui/source/customize/selector.cxx
parent035a88c73597a01439d86c2610763126ae6fd927 (diff)
various createfromascii -> RTL_CONSTASCII_USTRINGPARAM
Diffstat (limited to 'cui/source/customize/selector.cxx')
-rw-r--r--cui/source/customize/selector.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/cui/source/customize/selector.cxx b/cui/source/customize/selector.cxx
index 0900a1ff4847..2736368df6d6 100644
--- a/cui/source/customize/selector.cxx
+++ b/cui/source/customize/selector.cxx
@@ -795,7 +795,7 @@ void SvxConfigGroupListBox_Impl::GroupSelected()
Sequence< Reference< browse::XBrowseNode > > children =
rootNode->getChildNodes();
- for ( long n = 0; n < children.getLength(); ++n )
+ for ( sal_Int32 n = 0; n < children.getLength(); ++n )
{
if (!children[n].is())
continue;
@@ -810,14 +810,14 @@ void SvxConfigGroupListBox_Impl::GroupSelected()
continue;
}
- Any value =
- xPropSet->getPropertyValue( String::CreateFromAscii( "URI" ) );
+ Any value = xPropSet->getPropertyValue(
+ rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("URI")));
value >>= uri;
try
{
value = xPropSet->getPropertyValue(
- String::CreateFromAscii( "Description" ) );
+ rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("Description")));
value >>= description;
}
catch (Exception &) {