[gnumeric] remove some unnecessary code in openoffice-read.c
- From: Andreas J. Guelzow <guelzow src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gnumeric] remove some unnecessary code in openoffice-read.c
- Date: Fri, 22 Jan 2010 07:10:35 +0000 (UTC)
commit 97961844458d0417c05b339e7d126271fc3b13fb
Author: Andreas J. Guelzow <aguelzow pyrshep ca>
Date: Fri Jan 22 00:09:54 2010 -0700
remove some unnecessary code in openoffice-read.c
2010-01-22 Andreas J. Guelzow <aguelzow pyrshep ca>
* openoffice-read.c (oo_plot_area): remove some unnecessary code
plugins/openoffice/ChangeLog | 4 ++++
plugins/openoffice/openoffice-read.c | 5 ++---
2 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/plugins/openoffice/ChangeLog b/plugins/openoffice/ChangeLog
index a4762d6..210967d 100644
--- a/plugins/openoffice/ChangeLog
+++ b/plugins/openoffice/ChangeLog
@@ -1,3 +1,7 @@
+2010-01-22 Andreas J. Guelzow <aguelzow pyrshep ca>
+
+ * openoffice-read.c (oo_plot_area): remove some unnecessary code
+
2010-01-21 Andreas J. Guelzow <aguelzow pyrshep ca>
* openoffice-read.c (oo_plot_area): handle OO_PLOT_XYZ_SURFACE like
diff --git a/plugins/openoffice/openoffice-read.c b/plugins/openoffice/openoffice-read.c
index 70edb22..b494895 100644
--- a/plugins/openoffice/openoffice-read.c
+++ b/plugins/openoffice/openoffice-read.c
@@ -3631,10 +3631,9 @@ oo_plot_area (GsfXMLIn *xin, xmlChar const **attrs)
case OO_PLOT_GANTT: type = "GogDropBarPlot"; break;
case OO_PLOT_POLAR: type = "GogPolarPlot"; break;
case OO_PLOT_XYZ_SURFACE:
- if (oo_style_have_three_dimensional (state->chart.these_plot_styles)) {
+ if (oo_style_have_three_dimensional (state->chart.these_plot_styles))
type = "GogXYZSurfacePlot";
- state->chart.plot_type = OO_PLOT_XYZ_SURFACE;
- } else
+ else
type = "GogXYZContourPlot";
break;
case OO_PLOT_SURFACE: type = "GogSurfacePlot"; break;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]