summaryrefslogtreecommitdiff
path: root/slideshow/test
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2011-01-20 10:34:08 +0100
committerThomas Arnhold <thomas@arnhold.org>2011-01-20 10:34:08 +0100
commit5cffde5b2d3a1cf8391761c3815de4c128173aa0 (patch)
tree5de12a3d2fe4dd258a8134fa1c9d5dd475ad4b68 /slideshow/test
parentdb58382068e773c913e56ba8dc35543e6c78f129 (diff)
Replace suitable equalsAscii calls with equalsAsciiL.
Done with sed -i 's%\(\.equalsAscii\)(\(\s\?"[^"]\+"\)\(\s\?\))%\1L(\3RTL_CONSTASCII_STRINGPARAM(\2\3)\3)%g'.
Diffstat (limited to 'slideshow/test')
-rw-r--r--slideshow/test/demoshow.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/slideshow/test/demoshow.cxx b/slideshow/test/demoshow.cxx
index b915dc121b38..09bf16bd37e0 100644
--- a/slideshow/test/demoshow.cxx
+++ b/slideshow/test/demoshow.cxx
@@ -523,8 +523,8 @@ void DemoApp::Main()
{
::rtl::OUString aParam = GetCommandLineParam( i );
- if( aParam.equalsAscii( "--help" ) ||
- aParam.equalsAscii( "-h" ) )
+ if( aParam.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "--help" ) ) ||
+ aParam.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "-h" ) ) )
bHelp = true;
}