[Libreoffice-commits] .: sal/workben

Thomas Arnhold tarnhold at kemper.freedesktop.org
Thu Jan 20 15:18:56 PST 2011


 sal/workben/measure_oustrings.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit d22f38c07f7ca737009094c129a39d034371f287
Author: Thomas Arnhold <thomas at arnhold.org>
Date:   Fri Jan 21 00:18:51 2011 +0100

    Don't replace equalsAscii() with equalsAsciiL() in measure_oustrings.cxx.

diff --git a/sal/workben/measure_oustrings.cxx b/sal/workben/measure_oustrings.cxx
index 2be85a6..f9ce02b 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.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("apple"));
+        sCompare.equalsAscii("apple");
     )
 
     //(const sal_Char*, sal_Int32) version has different semantics
@@ -260,7 +260,7 @@ SAL_IMPLEMENT_MAIN()
     TIME
     (
         "rtl::OUString::equalsAscii",
-        sCompare.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("XXXXXXXXXXXXXXX"));
+        sCompare.equalsAscii("XXXXXXXXXXXXXXX");
     )
 
     //(const sal_Char*, sal_Int32) version has different semantics


More information about the Libreoffice-commits mailing list