diff options
author | Marcos Paulo de Souza <marcos.souza.org@gmail.com> | 2012-12-29 11:02:39 -0200 |
---|---|---|
committer | Olivier Hallot <olivier.hallot@alta.org.br> | 2012-12-29 15:29:18 +0000 |
commit | d204c1a47ef7215ca3e1ef198e81d9eeaed2095a (patch) | |
tree | d196cbc7143555351da8359d19931cae39adbd39 /accessibility/source/standard | |
parent | a7ef93ed1b6b19bc343c71eb9b16f8616517e6a6 (diff) |
Remove last RTL_CONSTASCII_* from accessibility
Change-Id: Icb8f66c9f6ad70828aa55580a1f3aae8b2af1593
Signed-off-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com>
Reviewed-on: https://gerrit.libreoffice.org/1500
Reviewed-by: Olivier Hallot <olivier.hallot@alta.org.br>
Tested-by: Olivier Hallot <olivier.hallot@alta.org.br>
Diffstat (limited to 'accessibility/source/standard')
-rw-r--r-- | accessibility/source/standard/vclxaccessiblebutton.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/accessibility/source/standard/vclxaccessiblebutton.cxx b/accessibility/source/standard/vclxaccessiblebutton.cxx index e433811259a3..9b6c653e57f9 100644 --- a/accessibility/source/standard/vclxaccessiblebutton.cxx +++ b/accessibility/source/standard/vclxaccessiblebutton.cxx @@ -139,7 +139,7 @@ OUString VCLXAccessibleButton::getAccessibleName( ) throw (RuntimeException) OUString aName( VCLXAccessibleTextComponent::getAccessibleName() ); sal_Int32 nLength = aName.getLength(); - if ( nLength >= 3 && aName.matchAsciiL( RTL_CONSTASCII_STRINGPARAM("..."), nLength - 3 ) ) + if ( nLength >= 3 && aName.match( "...", nLength - 3 ) ) { if ( nLength == 3 ) { @@ -152,12 +152,12 @@ OUString VCLXAccessibleButton::getAccessibleName( ) throw (RuntimeException) aName = aName.copy( 0, nLength - 3 ); } } - else if ( nLength >= 3 && aName.matchAsciiL( RTL_CONSTASCII_STRINGPARAM("<< "), 0 ) ) + else if ( nLength >= 3 && aName.match( "<< ", 0 ) ) { // remove the leading symbols aName = aName.copy( 3, nLength - 3 ); } - else if ( nLength >= 3 && aName.matchAsciiL( RTL_CONSTASCII_STRINGPARAM(" >>"), nLength - 3 ) ) + else if ( nLength >= 3 && aName.match( " >>", nLength - 3 ) ) { // remove the trailing symbols aName = aName.copy( 0, nLength - 3 ); |