diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-01-17 10:31:31 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-01-17 10:31:31 +0000 |
commit | c7607ede68fc9c0bcd1ea14d3f8d65b5e145c03c (patch) | |
tree | 158aed1b70fa70a86821c6747236bcfbd5580d18 /shell | |
parent | e7e3e6aa07e92811c9853b7b056a25bdf547588b (diff) |
equalsAsciiL faster than equalsAscii
Diffstat (limited to 'shell')
-rw-r--r-- | shell/source/backends/gconfbe/gconfaccess.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/shell/source/backends/gconfbe/gconfaccess.cxx b/shell/source/backends/gconfbe/gconfaccess.cxx index 82d4d055f25f..2b7e1064d326 100644 --- a/shell/source/backends/gconfbe/gconfaccess.cxx +++ b/shell/source/backends/gconfbe/gconfaccess.cxx @@ -431,7 +431,7 @@ sal_Bool SAL_CALL isDependencySatisfied( GConfClient* aClient, const Configurati { rtl::OUString aCompleteName( rtl::OStringToOUString( g_get_real_name(), osl_getThreadTextEncoding() ) ); - if( !aCompleteName.equalsAscii( "Unknown" ) ) + if( !aCompleteName.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("Unknown")) ) return sal_True; } break; @@ -440,7 +440,7 @@ sal_Bool SAL_CALL isDependencySatisfied( GConfClient* aClient, const Configurati { rtl::OUString aCompleteName( rtl::OStringToOUString( g_get_real_name(), osl_getThreadTextEncoding() ) ); - if( !aCompleteName.equalsAscii( "Unknown" ) ) + if( !aCompleteName.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("Unknown")) ) { if( aCompleteName.trim().indexOf(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(" ")), 0) != -1 ) return sal_True; |