[gnumeric] check whether we are allowed to use extensions before saving fill-type



commit 2e88159cc0db52c41a27df734d452f6c2c09c6f8
Author: Andreas J. Guelzow <aguelzow pyrshep ca>
Date:   Wed Jan 28 13:18:47 2015 -0700

    check whether we are allowed to use extensions before saving fill-type

 plugins/openoffice/openoffice-write.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/openoffice/openoffice-write.c b/plugins/openoffice/openoffice-write.c
index dfcef51..199abb1 100644
--- a/plugins/openoffice/openoffice-write.c
+++ b/plugins/openoffice/openoffice-write.c
@@ -6616,7 +6616,7 @@ odf_write_fill_type (GnmOOExport *state,
 {
        gchar *type_str = NULL;
 
-       if (gnm_object_has_readable_prop (series, "fill-type", G_TYPE_STRING, &type_str)) {
+       if (state->with_extension && gnm_object_has_readable_prop (series, "fill-type", G_TYPE_STRING, 
&type_str)) {
                gsf_xml_out_add_cstr (state->xml, GNMSTYLE "fill-type", type_str);
                g_free (type_str);
        }


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