diff options
Diffstat (limited to 'sal/qa/rtl_strings/rtl_old_testowstring.cxx')
-rw-r--r-- | sal/qa/rtl_strings/rtl_old_testowstring.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sal/qa/rtl_strings/rtl_old_testowstring.cxx b/sal/qa/rtl_strings/rtl_old_testowstring.cxx index 92a0e143b138..f23287a5a25b 100644 --- a/sal/qa/rtl_strings/rtl_old_testowstring.cxx +++ b/sal/qa/rtl_strings/rtl_old_testowstring.cxx @@ -167,7 +167,7 @@ void oldtests::test_OUString() //YD will fail copy assert on indexes, because ':' returns -1 s7 = OUString("Hallo jetzt komm ich"); s8 = s7.copy(0, s7.indexOf((sal_Unicode)':')); - TEST_ENSURE( s8.getLength() == 0, "test_OWString error 55"); + TEST_ENSURE( s8.isEmpty(), "test_OWString error 55"); TEST_ENSURE( s8.compareTo(OUString()) == 0, "test_OWString error 56"); #endif |