[Libreoffice-commits] core.git: sc/qa
Stephan Bergmann
sbergman at redhat.com
Thu Oct 22 06:20:31 PDT 2015
sc/qa/complex/sc/CalcRTL.java | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
New commits:
commit 8690639fa1dedc8a5c475cc8a1dd288d79a7053a
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Thu Oct 22 15:19:36 2015 +0200
Why check that resValue != oldValue
...same as daa6fe4173ba9215a7044887dc28cc8ee4408985
Change-Id: I0ee61a2f40c234fcb496a70ad5ec913148119597
diff --git a/sc/qa/complex/sc/CalcRTL.java b/sc/qa/complex/sc/CalcRTL.java
index d7a1f61..2da8054 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");
More information about the Libreoffice-commits
mailing list