summaryrefslogtreecommitdiff
path: root/vcl/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-01-15 21:14:41 +0000
committerCaolán McNamara <caolanm@redhat.com>2011-01-15 21:14:41 +0000
commit71b1f052b36499592d5546529ccdf6a4afbd4531 (patch)
treee61926664ebafb1bfad1b09a201c5fc10224b355 /vcl/source
parent89fc0680b623e087d9cb05f55423e0edea0ce82e (diff)
microopts equalsAsciiL faster than compareToAscii(const sal_Char*)
Diffstat (limited to 'vcl/source')
-rw-r--r--vcl/source/app/svmain.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/app/svmain.cxx b/vcl/source/app/svmain.cxx
index 78792cf43cda..a195621ce089 100644
--- a/vcl/source/app/svmain.cxx
+++ b/vcl/source/app/svmain.cxx
@@ -248,7 +248,7 @@ Any SAL_CALL DesktopEnvironmentContext::getValueByName( const rtl::OUString& Nam
{
Any retVal;
- if ( 0 == Name.compareToAscii( "system.desktop-environment" ) )
+ if (Name.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("system.desktop-environment")))
{
retVal = makeAny( Application::GetDesktopEnvironment() );
}