[gnumeric] ODF export: use the method prefered by the OASIS OIC interop report to address the object subfile
- From: Andreas J. Guelzow <guelzow src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gnumeric] ODF export: use the method prefered by the OASIS OIC interop report to address the object subfile
- Date: Wed, 27 Jan 2010 15:32:21 +0000 (UTC)
commit 02d30e1958e341a6fc39281a850c10304d0506cb
Author: Andreas J. Guelzow <aguelzow pyrshep ca>
Date: Wed Jan 27 08:31:21 2010 -0700
ODF export: use the method prefered by the OASIS OIC interop report to address the object subfile
2010-01-27 Andreas J. Guelzow <aguelzow pyrshep ca>
* openoffice-write.c (odf_write_frame): use the method prefered by the
OASIS OIC interop report to address the object subfile
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 210967d..768c0cc 100644
--- a/plugins/openoffice/ChangeLog
+++ b/plugins/openoffice/ChangeLog
@@ -1,3 +1,8 @@
+2010-01-27 Andreas J. Guelzow <aguelzow pyrshep ca>
+
+ * openoffice-write.c (odf_write_frame): use the method prefered by the
+ OASIS OIC interop report to address the object subfile
+
2010-01-22 Andreas J. Guelzow <aguelzow pyrshep ca>
* openoffice-read.c (oo_plot_area): remove some unnecessary code
diff --git a/plugins/openoffice/openoffice-write.c b/plugins/openoffice/openoffice-write.c
index 7ce1e0f..78c5989 100644
--- a/plugins/openoffice/openoffice-write.c
+++ b/plugins/openoffice/openoffice-write.c
@@ -2173,7 +2173,7 @@ odf_write_frame (GnmOOExport *state, SheetObject *so)
if (IS_SHEET_OBJECT_GRAPH (so)) {
char const *name = g_hash_table_lookup (state->objects, so);
if (name != NULL) {
- char *full_name = g_strdup_printf ("./%s", name);
+ char *full_name = g_strdup_printf ("%s/", name);
gsf_xml_out_start_element (state->xml, DRAW "object");
gsf_xml_out_add_cstr (state->xml, XLINK "href", full_name);
g_free (full_name);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]