diff options
Diffstat (limited to 'cppuhelper')
-rw-r--r-- | cppuhelper/test/bootstrap/bootstrap.test.cxx | 2 | ||||
-rw-r--r-- | cppuhelper/test/loader/loader.test.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/cppuhelper/test/bootstrap/bootstrap.test.cxx b/cppuhelper/test/bootstrap/bootstrap.test.cxx index 0b8e78a846d7..ebbb5ca24cc6 100644 --- a/cppuhelper/test/bootstrap/bootstrap.test.cxx +++ b/cppuhelper/test/bootstrap/bootstrap.test.cxx @@ -291,7 +291,7 @@ SAL_IMPLEMENT_MAIN_WITH_ARGS(/*argc*/, argv) s_test__bootstrap_InitialComponentContext__purpose(); int ret; - if (s_comment.indexOf(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("FAILURE"))) == -1) + if (s_comment.indexOf("FAILURE") == -1) { s_comment += rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("TESTS PASSED\n")); ret = 0; diff --git a/cppuhelper/test/loader/loader.test.cxx b/cppuhelper/test/loader/loader.test.cxx index 6c9d47c5cdde..466f243f52dc 100644 --- a/cppuhelper/test/loader/loader.test.cxx +++ b/cppuhelper/test/loader/loader.test.cxx @@ -182,7 +182,7 @@ SAL_IMPLEMENT_MAIN_WITH_ARGS(/*argc*/, argv) message += s_test__cppu_writeSharedLibComponentInfo(":affine"); message += s_test__cppu_writeSharedLibComponentInfo(""); - if (message.indexOf(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("FAILED"))) == -1) + if (message.indexOf("FAILED") == -1) message += rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("TESTS PASSED\n")); else |