diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-10-22 15:19:36 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-10-22 15:19:36 +0200 |
commit | 8690639fa1dedc8a5c475cc8a1dd288d79a7053a (patch) | |
tree | 68dd0499d08b8a25dc38d00c1bb8cdf616cd4a52 /sc | |
parent | ab489869e23d2e4fdf5aa11c304a3ac585bbb36f (diff) |
Why check that resValue != oldValue
...same as daa6fe4173ba9215a7044887dc28cc8ee4408985
Change-Id: I0ee61a2f40c234fcb496a70ad5ec913148119597
Diffstat (limited to 'sc')
-rw-r--r-- | sc/qa/complex/sc/CalcRTL.java | 3 |
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"); |