gnumeric r17210 - in trunk: . plugins/openoffice
- From: jbrefort svn gnome org
- To: svn-commits-list gnome org
- Subject: gnumeric r17210 - in trunk: . plugins/openoffice
- Date: Sun, 15 Mar 2009 18:40:03 +0000 (UTC)
Author: jbrefort
Date: Sun Mar 15 18:40:02 2009
New Revision: 17210
URL: http://svn.gnome.org/viewvc/gnumeric?rev=17210&view=rev
Log:
2009-03-15 Jean Brefort <jean brefort normalesup org>
* openoffice-read.c: (oo_plot_area): Fixed null pointer crash in
oo_plot_area(). [#575403]
Modified:
trunk/NEWS
trunk/plugins/openoffice/ChangeLog
trunk/plugins/openoffice/openoffice-read.c
Modified: trunk/NEWS
==============================================================================
--- trunk/NEWS (original)
+++ trunk/NEWS Sun Mar 15 18:40:02 2009
@@ -14,6 +14,7 @@
Jean:
* Make gconf use independent from the with-gnome option. [#574813]
+ * Fixed null pointer crash inoo_plot_area(). [#575403]
Jody:
* Work around semantic changes in gtk-2.16.
Modified: trunk/plugins/openoffice/openoffice-read.c
==============================================================================
--- trunk/plugins/openoffice/openoffice-read.c (original)
+++ trunk/plugins/openoffice/openoffice-read.c Sun Mar 15 18:40:02 2009
@@ -2190,7 +2190,8 @@
state->chart.plot = gog_plot_new_by_name (type);
gog_object_add_by_name (GOG_OBJECT (state->chart.chart),
"Plot", GOG_OBJECT (state->chart.plot));
- oo_prop_list_apply (style->plot_props, G_OBJECT (state->chart.plot));
+ if (style)
+ oo_prop_list_apply (style->plot_props, G_OBJECT (state->chart.plot));
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]