[gnumeric] xls: saving saving of custom autofilters -- and <--> or.
- From: Morten Welinder <mortenw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnumeric] xls: saving saving of custom autofilters -- and <--> or.
- Date: Thu, 29 Apr 2010 15:03:31 +0000 (UTC)
commit 31a3f5c4b9fcedcccc6d4b7a7c379d75a322cea9
Author: Morten Welinder <terra gnome org>
Date: Thu Apr 29 11:03:02 2010 -0400
xls: saving saving of custom autofilters -- and <--> or.
NEWS | 2 +-
plugins/excel/ChangeLog | 1 +
plugins/excel/ms-excel-write.c | 2 +-
3 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/NEWS b/NEWS
index 942e647..71c4e7e 100644
--- a/NEWS
+++ b/NEWS
@@ -19,7 +19,7 @@ Morten:
* Fix WEEKNUM problems. [#616330]
* Fix hidden-sheet problem. [#616549]
* Fix auto-expr problem. [#575104]
- * Fix xls-save problem with custom autofilters.
+ * Fix xls-save problems with custom autofilters.
--------------------------------------------------------------------------
Gnumeric 1.10.2
diff --git a/plugins/excel/ChangeLog b/plugins/excel/ChangeLog
index 7eff4e7..1c6fee3 100644
--- a/plugins/excel/ChangeLog
+++ b/plugins/excel/ChangeLog
@@ -1,6 +1,7 @@
2010-04-29 Morten Welinder <terra gnome org>
* ms-excel-write.c (excel_write_DOPER): Fix saving of integers.
+ (excel_write_AUTOFILTERINFO): Fix swapped "and" and "or".
2010-04-23 Morten Welinder <terra gnome org>
diff --git a/plugins/excel/ms-excel-write.c b/plugins/excel/ms-excel-write.c
index 37d4d27..16b0762 100644
--- a/plugins/excel/ms-excel-write.c
+++ b/plugins/excel/ms-excel-write.c
@@ -3834,7 +3834,7 @@ excel_write_AUTOFILTERINFO (BiffPut *bp, ExcelWriteSheet *esheet)
default :
str0 = excel_write_DOPER (cond, 0, buf + 4);
str1 = excel_write_DOPER (cond, 1, buf + 14);
- GSF_LE_SET_GUINT16 (buf+2, cond->is_and ? 1 : 0);
+ GSF_LE_SET_GUINT16 (buf+2, cond->is_and ? 0 : 1);
}
GSF_LE_SET_GUINT16 (buf, i);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]