[gnumeric] compilation: fix warning.



commit 17d55adeabb6a606c2348e614fccc220ea5b62d8
Author: Morten Welinder <terra gnome org>
Date:   Mon Mar 8 18:50:03 2021 -0500

    compilation: fix warning.

 plugins/openoffice/openoffice-write.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/plugins/openoffice/openoffice-write.c b/plugins/openoffice/openoffice-write.c
index 5d228f2d3..2127570d5 100644
--- a/plugins/openoffice/openoffice-write.c
+++ b/plugins/openoffice/openoffice-write.c
@@ -3248,7 +3248,7 @@ odf_write_line (GnmOOExport *state, SheetObject *so)
        double x1, y1, x2, y2;
        gchar const *style_name = g_hash_table_lookup (state->so_styles, so);
        int z;
-       char const *name = NULL;
+       char *name = NULL;
 
        gsf_xml_out_start_element (state->xml, DRAW "line");
        g_object_get (G_OBJECT (so), "name", &name, NULL);


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