summaryrefslogtreecommitdiff
path: root/sal/qa/rtl_strings/rtl_OString.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sal/qa/rtl_strings/rtl_OString.cxx')
-rw-r--r--sal/qa/rtl_strings/rtl_OString.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sal/qa/rtl_strings/rtl_OString.cxx b/sal/qa/rtl_strings/rtl_OString.cxx
index 293381cd2a7c..1934f0625248 100644
--- a/sal/qa/rtl_strings/rtl_OString.cxx
+++ b/sal/qa/rtl_strings/rtl_OString.cxx
@@ -1929,7 +1929,7 @@ sal_Bool test_valueOf( const char** resArray, int n, sal_Int16 radix,
bRes &= c_rtl_tres_state
(
hRtlTestResult,
- aStr2 == aStr1,
+ aStr2.compareTo(aStr1) == 0,
(sal_Char*)resArray[i],
createName( pMeth, "valueOf", i )
);
@@ -2163,7 +2163,7 @@ sal_Bool SAL_CALL test_rtl_OString_valueOf_Int32_WrongRadix(
bRes = c_rtl_tres_state
(
hRtlTestResult,
- aStr2 == aStr1,
+ aStr2.compareTo( aStr1 ) == 0,
"if radix not valid then radix must be 10",
"valueOf(sal_Int32, sal_Int32 radix): radix = -5"
);
@@ -2411,7 +2411,7 @@ sal_Bool SAL_CALL test_rtl_OString_valueOf_Int64_WrongRadix(
bRes = c_rtl_tres_state
(
hRtlTestResult,
- aStr2 == aStr1,
+ aStr2.compareTo(aStr1) == 0,
"if radix not valid then radix must be 10",
"valueOf(sal_Int64, sal_Int32 radix): radix = -5"
);