summaryrefslogtreecommitdiff
path: root/sal/qa
diff options
context:
space:
mode:
authorFridrich Štrba <fridrich.strba@bluewin.ch>2013-04-22 09:53:49 +0200
committerFridrich Štrba <fridrich.strba@bluewin.ch>2013-04-22 09:53:49 +0200
commitff4464659ec54732c45729ace964d60e77d19eb2 (patch)
tree8c63d1214e66dff745cc9477e8cd93bf5d06ddea /sal/qa
parent97f6625d9a49f62f09b0f9ddab8fa4935de45ae5 (diff)
Revert "fdo#62096: Replaced some compareTo with =="
Diffstat (limited to 'sal/qa')
-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"
);