summaryrefslogtreecommitdiff
path: root/accessibility/source/standard/vclxaccessiblebutton.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'accessibility/source/standard/vclxaccessiblebutton.cxx')
-rw-r--r--accessibility/source/standard/vclxaccessiblebutton.cxx6
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 );