[gnumeric] Fix writing of range references without sheet.
- From: Andreas J. Guelzow <guelzow src gnome org>
- To: svn-commits-list gnome org
- Subject: [gnumeric] Fix writing of range references without sheet.
- Date: Sun, 28 Jun 2009 21:18:02 +0000 (UTC)
commit 3b72d01fca4a70f51934d80ef639b50aa9846c57
Author: Andreas J. Guelzow <aguelzow pyrshep ca>
Date: Sun Jun 28 15:17:32 2009 -0600
Fix writing of range references without sheet.
2009-06-28 Andreas J. Guelzow <aguelzow pyrshep ca>
* openoffice-write.c (odf_rangeref_as_string): fix
writing of range references without sheet.
plugins/openoffice/ChangeLog | 5 +++++
plugins/openoffice/openoffice-write.c | 2 +-
2 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/plugins/openoffice/ChangeLog b/plugins/openoffice/ChangeLog
index 92257d3..c973395 100644
--- a/plugins/openoffice/ChangeLog
+++ b/plugins/openoffice/ChangeLog
@@ -1,3 +1,8 @@
+2009-06-28 Andreas J. Guelzow <aguelzow pyrshep ca>
+
+ * openoffice-write.c (odf_rangeref_as_string): fix
+ writing of range references without sheet.
+
2009-06-25 Andreas J. Guelzow <aguelzow pyrshep ca>
* openoffice-write.c (odf_save_style_map_single_f):
diff --git a/plugins/openoffice/openoffice-write.c b/plugins/openoffice/openoffice-write.c
index 4291a5c..9955912 100644
--- a/plugins/openoffice/openoffice-write.c
+++ b/plugins/openoffice/openoffice-write.c
@@ -1420,7 +1420,7 @@ odf_rangeref_as_string (GnmConventionsOut *out, GnmRangeRef const *ref)
g_string_append_c (out->accum, '.');
cellref_as_string (out, &(ref->a), FALSE);
- if (ref->a.sheet == NULL)
+ if (ref->b.sheet == NULL)
g_string_append (out->accum, ":.");
else
g_string_append_c (out->accum, ':');
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]