[gnumeric] cleanup.



commit de064712e5404997032d26c4339032810d2cd549
Author: Morten Welinder <terra gnome org>
Date:   Tue Nov 17 16:24:31 2009 -0500

    cleanup.

 plugins/openoffice/ChangeLog         |    4 ++++
 plugins/openoffice/openoffice-read.c |    2 +-
 2 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/plugins/openoffice/ChangeLog b/plugins/openoffice/ChangeLog
index 27adcce..f4ca16e 100644
--- a/plugins/openoffice/ChangeLog
+++ b/plugins/openoffice/ChangeLog
@@ -1,3 +1,7 @@
+2009-11-17  Morten Welinder  <terra gnome org>
+
+	* openoffice-read.c (oo_filter_cond): Don't look inside GnmValue.
+
 2009-11-01  Morten Welinder <terra gnome org>
 
 	* Release 1.9.15
diff --git a/plugins/openoffice/openoffice-read.c b/plugins/openoffice/openoffice-read.c
index 967df6a..60df6cf 100644
--- a/plugins/openoffice/openoffice-read.c
+++ b/plugins/openoffice/openoffice-read.c
@@ -3170,7 +3170,7 @@ oo_filter_cond (GsfXMLIn *xin, xmlChar const **attrs)
 				cond = gnm_filter_condition_new_bucket (
 					0 == (op & GNM_FILTER_OP_BOTTOM_MASK),
 					0 == (op & GNM_FILTER_OP_PERCENT_MASK),
-					v->v_float.val);
+					value_get_as_float (v));
 			break;
 		}
 		value_release (v);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]