[gnumeric] Use go_style_new() instead of gog_style_new().
- From: Jean BrÃfort <jbrefort src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnumeric] Use go_style_new() instead of gog_style_new().
- Date: Sun, 10 Feb 2013 10:43:24 +0000 (UTC)
commit fb6efc015aa261a8954d4dd0eef5f2eadfcde342
Author: Jean Brefort <jean brefort normalesup org>
Date: Sun Feb 10 11:48:09 2013 +0100
Use go_style_new() instead of gog_style_new().
plugins/excel/ChangeLog | 7 +++++++
plugins/excel/ms-chart.c | 2 +-
plugins/excel/xlsx-read-drawing.c | 2 +-
3 files changed, 9 insertions(+), 2 deletions(-)
---
diff --git a/plugins/excel/ChangeLog b/plugins/excel/ChangeLog
index d6a2d40..e0c678e 100644
--- a/plugins/excel/ChangeLog
+++ b/plugins/excel/ChangeLog
@@ -1,5 +1,12 @@
2013-02-10 Jean Brefort <jean brefort normalesup org>
+ reviewed by: <delete if not using a buddy>
+
+ * ms-chart.c (get_style):
+ * xlsx-read-drawing.c (xlsx_style_line_start):
+
+2013-02-10 Jean Brefort <jean brefort normalesup org>
+
* xlsx-read-drawing.c (xlsx_drawing_preset_geom): fix uninitialized an
variable issue. [#693492]
diff --git a/plugins/excel/ms-chart.c b/plugins/excel/ms-chart.c
index 30ce818..a28eb94 100644
--- a/plugins/excel/ms-chart.c
+++ b/plugins/excel/ms-chart.c
@@ -182,7 +182,7 @@ static void
BC_R(get_style) (XLChartReadState *s)
{
if (s->style == NULL)
- s->style = gog_style_new ();
+ s->style = go_style_new ();
}
static int
diff --git a/plugins/excel/xlsx-read-drawing.c b/plugins/excel/xlsx-read-drawing.c
index b32a2cd..edc0a9f 100644
--- a/plugins/excel/xlsx-read-drawing.c
+++ b/plugins/excel/xlsx-read-drawing.c
@@ -1153,7 +1153,7 @@ xlsx_style_line_start (GsfXMLIn *xin, xmlChar const **attrs)
XLSXReadState *state = (XLSXReadState *)xin->user_state;
state->sp_type |= GO_STYLE_LINE;
if (!state->cur_style)
- state->cur_style = gog_style_new ();
+ state->cur_style = go_style_new ();
state->gocolor = &state->cur_style->line.color;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]