[gnumeric] odf: Handle "value()<>0" also.
- From: Morten Welinder <mortenw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnumeric] odf: Handle "value()<>0" also.
- Date: Sun, 30 Mar 2014 12:18:09 +0000 (UTC)
commit 10316d0214a65dfbec63cec36fb1495eb8352206
Author: Morten Welinder <terra gnome org>
Date: Sat Mar 29 11:20:18 2014 -0400
odf: Handle "value()<>0" also.
The standard says "value()!=0", but LO didn't get the memo.
plugins/openoffice/openoffice-read.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/plugins/openoffice/openoffice-read.c b/plugins/openoffice/openoffice-read.c
index e43c2f4..578f8de 100644
--- a/plugins/openoffice/openoffice-read.c
+++ b/plugins/openoffice/openoffice-read.c
@@ -5343,6 +5343,8 @@ odf_cond_to_xl (GsfXMLIn *xin, GString *dst, const char *cond, int part, int par
oper = ">", cond++;
else if (cond[0] == '<' && cond[1] == '=')
oper = "<=", cond += 2;
+ else if (cond[0] == '<' && cond[1] == '>')
+ oper = "<>", cond += 2; /* Not standard, see bug 727297 */
else if (cond[0] == '<')
oper = "<", cond++;
else if (cond[0] == '!' && cond[1] == '=')
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]