[gnumeric] OO import: fix sheet size issue.
- From: Morten Welinder <mortenw src gnome org>
- To: svn-commits-list gnome org
- Subject: [gnumeric] OO import: fix sheet size issue.
- Date: Mon, 4 May 2009 14:48:54 -0400 (EDT)
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]