summaryrefslogtreecommitdiff
path: root/toolkit
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-04-04 21:30:30 +0100
committerCaolán McNamara <caolanm@redhat.com>2012-04-05 13:59:05 +0100
commit5688b51bcb23b12b335dadf4430b7b7c4407cbfb (patch)
treeb2c358d422775d0d9d312cca653c9e4e7b989ed2 /toolkit
parentdd20a8c6e2ebeceff90567597d712e4c03c2ac7d (diff)
UniString::CreateFromInt32 -> rtl::OUString::valueOf
Diffstat (limited to 'toolkit')
-rw-r--r--toolkit/source/awt/vclxaccessiblecomponent.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/toolkit/source/awt/vclxaccessiblecomponent.cxx b/toolkit/source/awt/vclxaccessiblecomponent.cxx
index 9f8e52c56730..c0c5f9699af8 100644
--- a/toolkit/source/awt/vclxaccessiblecomponent.cxx
+++ b/toolkit/source/awt/vclxaccessiblecomponent.cxx
@@ -692,9 +692,9 @@ sal_Int16 VCLXAccessibleComponent::getAccessibleRole( ) throw (uno::RuntimeExce
{
aName = GetWindow()->GetAccessibleName();
#if OSL_DEBUG_LEVEL > 1
- aName += String( RTL_CONSTASCII_USTRINGPARAM( " (Type = " ) );
- aName += String::CreateFromInt32( GetWindow()->GetType() );
- aName += String( RTL_CONSTASCII_USTRINGPARAM( ")" ) );
+ aName += rtl::OUString(" (Type = ");
+ aName += rtl::OUString::valueOf(static_cast<sal_Int32>(GetWindow()->GetType()));
+ aName += rtl::OUString( ")");
#endif
}
return aName;