summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sc/qa/complex/sc/CalcRTL.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/sc/qa/complex/sc/CalcRTL.java b/sc/qa/complex/sc/CalcRTL.java
index d7a1f611d57c..2da80548e387 100644
--- a/sc/qa/complex/sc/CalcRTL.java
+++ b/sc/qa/complex/sc/CalcRTL.java
@@ -416,8 +416,7 @@ public class CalcRTL
if (exception == null) {
// if no exception thrown
// check that the new value is set
- if ((!ValueComparer.equalValue(resValue, newValue)) ||
- (ValueComparer.equalValue(resValue, oldValue))) {
+ if (!ValueComparer.equalValue(resValue, newValue)) {
System.out.println("Value for '" + propName +
"' hasn't changed as expected");