[gnumeric] OO import: fix sheet size issue.



commit 9df09b06dab4fbe2e899b6ebbaee323671ab5fb9
Author: Morten Welinder <terra gnome org>
Date:   Mon May 4 14:48:28 2009 -0400

    OO import: fix sheet size issue.
---
 plugins/openoffice/ChangeLog         |    5 +++--
 plugins/openoffice/openoffice-read.c |    2 +-
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/plugins/openoffice/ChangeLog b/plugins/openoffice/ChangeLog
index 3a0510c..30e7b78 100644
--- a/plugins/openoffice/ChangeLog
+++ b/plugins/openoffice/ChangeLog
@@ -1,8 +1,9 @@
 2009-05-04  Morten Welinder  <terra gnome org>
 
 	* openoffice-read.c (openoffice_file_probe): Handle certain
-	suffixes too, even if file has no mimetype.  Fixes #581143
-	except for a go_plugin_file_opener_can_probe problem.
+	suffixes too, even if file has no mimetype.  Fixes #581143.
+	(oo_cellref_parse): Use the ref sheet for size, if available.
+	Fixes #581347.
 
 2009-04-25  Morten Welinder <terra gnome org>
 
diff --git a/plugins/openoffice/openoffice-read.c b/plugins/openoffice/openoffice-read.c
index 103e2e2..64dd15b 100644
--- a/plugins/openoffice/openoffice-read.c
+++ b/plugins/openoffice/openoffice-read.c
@@ -854,7 +854,7 @@ two_quotes :
 		ref->sheet = NULL;
 	}
 
-	ss = gnm_sheet_get_size (pp->sheet);
+	ss = gnm_sheet_get_size (eval_sheet (ref->sheet, pp->sheet));
 
 	tmp1 = col_parse (ptr, ss, &ref->col, &ref->col_relative);
 	if (!tmp1)



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