diff options
author | Kevin Hunter <hunteke@earlham.edu> | 2010-11-08 20:56:20 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2010-11-08 20:56:20 +0000 |
commit | 7383be741b529723dee054615d5d709ef5dbec69 (patch) | |
tree | 31d7d65198c96ce62829eee71a059ee4bb672fb4 /accessibility/source/standard/vclxaccessibledropdownlistbox.cxx | |
parent | 8a534d798a91d3bc687a0975dbcd764aa8d5b823 (diff) |
use RTL_CONSTASCII_USTRINGPARAM
Diffstat (limited to 'accessibility/source/standard/vclxaccessibledropdownlistbox.cxx')
-rw-r--r-- | accessibility/source/standard/vclxaccessibledropdownlistbox.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/accessibility/source/standard/vclxaccessibledropdownlistbox.cxx b/accessibility/source/standard/vclxaccessibledropdownlistbox.cxx index 340567eb967a..04fc5c46cff6 100644 --- a/accessibility/source/standard/vclxaccessibledropdownlistbox.cxx +++ b/accessibility/source/standard/vclxaccessibledropdownlistbox.cxx @@ -93,7 +93,7 @@ void VCLXAccessibleDropDownListBox::ProcessWindowEvent( const VclWindowEvent& rV ::rtl::OUString VCLXAccessibleDropDownListBox::getImplementationName() throw (RuntimeException) { - return ::rtl::OUString::createFromAscii("com.sun.star.comp.toolkit.AccessibleDropDownListBox"); + return ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.comp.toolkit.AccessibleDropDownListBox" )); } @@ -105,8 +105,7 @@ Sequence< ::rtl::OUString > VCLXAccessibleDropDownListBox::getSupportedServiceNa Sequence< ::rtl::OUString > aNames = VCLXAccessibleBox::getSupportedServiceNames(); sal_Int32 nLength = aNames.getLength(); aNames.realloc( nLength + 1 ); - aNames[nLength] = ::rtl::OUString::createFromAscii( - "com.sun.star.accessibility.AccessibleDropDownListBox" ); + aNames[nLength] = ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.accessibility.AccessibleDropDownListBox" )); return aNames; } |