summaryrefslogtreecommitdiff
path: root/sal/qa/rtl/strings/test_ostring.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sal/qa/rtl/strings/test_ostring.cxx')
-rw-r--r--sal/qa/rtl/strings/test_ostring.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sal/qa/rtl/strings/test_ostring.cxx b/sal/qa/rtl/strings/test_ostring.cxx
index 3732f7488bde..32738125f92a 100644
--- a/sal/qa/rtl/strings/test_ostring.cxx
+++ b/sal/qa/rtl/strings/test_ostring.cxx
@@ -43,19 +43,19 @@ void Test::testStartsWithIgnoreAsciiCase() {
{
OString r;
CPPUNIT_ASSERT(
- OString("foo").startsWithIgnoreAsciiCase(OString("F"), &r));
+ OString("foo").startsWithIgnoreAsciiCase("F", &r));
CPPUNIT_ASSERT_EQUAL(OString("oo"), r);
}
{
OString r("other");
CPPUNIT_ASSERT(
- !OString("foo").startsWithIgnoreAsciiCase(OString("bar"), &r));
+ !OString("foo").startsWithIgnoreAsciiCase("bar", &r));
CPPUNIT_ASSERT_EQUAL(OString("other"), r);
}
{
OString r("other");
CPPUNIT_ASSERT(
- !OString("foo").startsWithIgnoreAsciiCase(OString("foobar"), &r));
+ !OString("foo").startsWithIgnoreAsciiCase("foobar", &r));
CPPUNIT_ASSERT_EQUAL(OString("other"), r);
}