[gnumeric] ods: fix last fix.



commit cff070bcc98b6d2c8231051a713ca94214724aab
Author: Morten Welinder <terra gnome org>
Date:   Fri May 9 15:08:54 2014 -0400

    ods: fix last fix.

 plugins/openoffice/openoffice-read.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/plugins/openoffice/openoffice-read.c b/plugins/openoffice/openoffice-read.c
index 84bfbfd..fd9d8d8 100644
--- a/plugins/openoffice/openoffice-read.c
+++ b/plugins/openoffice/openoffice-read.c
@@ -866,8 +866,10 @@ odf_apply_style_props (GsfXMLIn *xin, GSList *props, GOStyle *style)
                } else if (0 == strcmp (prop->name, "color")) {
                        GdkRGBA rgba;
                        gchar const *color = g_value_get_string (&prop->value);
-                       if (gdk_rgba_parse (&rgba, color))
+                       if (gdk_rgba_parse (&rgba, color)) {
                                go_color_from_gdk_rgba (&rgba, &style->font.color);
+                               style->font.auto_color = FALSE;
+                       }
                } else if (0 == strcmp (prop->name, "gnm-auto-dash")) {
                        gnm_auto_dash_set = TRUE;
                        style->line.auto_dash = g_value_get_boolean (&prop->value);


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