summaryrefslogtreecommitdiffstats
path: root/slideshow/test
diff options
context:
space:
mode:
authorSzabolcs Dezsi <dezsiszabi@hotmail.com>2012-04-06 19:49:53 +0200
committerJan Holesovsky <kendy@suse.cz>2012-04-06 20:03:42 +0200
commitd6bc02f8c4cd0f50f0a2631ac7634dab408efc1f (patch)
treeb5a12df1fcae025715633469b75ab4c9b6f6d279 /slideshow/test
parentI suspect the logic is supposed to be the other way around. (diff)
downloadcore-d6bc02f8c4cd0f50f0a2631ac7634dab408efc1f.tar.gz
core-d6bc02f8c4cd0f50f0a2631ac7634dab408efc1f.zip
Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operator
Diffstat (limited to 'slideshow/test')
-rw-r--r--slideshow/test/demoshow.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/slideshow/test/demoshow.cxx b/slideshow/test/demoshow.cxx
index 315822064a50..a9322fdbfa85 100644
--- a/slideshow/test/demoshow.cxx
+++ b/slideshow/test/demoshow.cxx
@@ -522,8 +522,7 @@ void DemoApp::Main()
{
::rtl::OUString aParam = GetCommandLineParam( i );
- if( aParam.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "--help" ) ) ||
- aParam.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "-h" ) ) )
+ if( aParam == "--help" || aParam == "-h" )
bHelp = true;
}