summaryrefslogtreecommitdiffstats
path: root/sal/workben
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2011-01-20 11:38:15 +0100
committerThomas Arnhold <thomas@arnhold.org>2011-01-20 11:38:15 +0100
commit1a1bf0378692877a7c8dec9c879320fc7b53dd5d (patch)
treeb1d8ef9bd0fcd635acb77c8b42b20844c22e3922 /sal/workben
parentMore hacking on the wntmscx bridge, still far from ready (diff)
downloadcore-1a1bf0378692877a7c8dec9c879320fc7b53dd5d.tar.gz
core-1a1bf0378692877a7c8dec9c879320fc7b53dd5d.zip
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 'sal/workben')
-rw-r--r--sal/workben/measure_oustrings.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sal/workben/measure_oustrings.cxx b/sal/workben/measure_oustrings.cxx
index f9ce02bec8bd..2be85a6917d0 100644
--- a/sal/workben/measure_oustrings.cxx
+++ b/sal/workben/measure_oustrings.cxx
@@ -225,7 +225,7 @@ SAL_IMPLEMENT_MAIN()
TIME
(
"rtl::OUString::equalsAscii",
- sCompare.equalsAscii("apple");
+ sCompare.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("apple"));
)
//(const sal_Char*, sal_Int32) version has different semantics
@@ -260,7 +260,7 @@ SAL_IMPLEMENT_MAIN()
TIME
(
"rtl::OUString::equalsAscii",
- sCompare.equalsAscii("XXXXXXXXXXXXXXX");
+ sCompare.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("XXXXXXXXXXXXXXX"));
)
//(const sal_Char*, sal_Int32) version has different semantics