[Libreoffice-commits] core.git: oox/source
Markus Mohrhard
markus.mohrhard at googlemail.com
Fri Jan 24 22:13:32 PST 2014
oox/source/export/chartexport.cxx | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
New commits:
commit 8b1cf5ab9e54e20282581088c13d470d66afaf8a
Author: Markus Mohrhard <markus.mohrhard at googlemail.com>
Date: Sat Jan 25 07:00:52 2014 +0100
OOXML validation fix for charts
smooth entry was written too early
Change-Id: I200f67dd70c8efa0f46fbe177add36b6c80a96f4
diff --git a/oox/source/export/chartexport.cxx b/oox/source/export/chartexport.cxx
index a795aac..1c82816 100644
--- a/oox/source/export/chartexport.cxx
+++ b/oox/source/export/chartexport.cxx
@@ -1650,7 +1650,6 @@ void ChartExport::exportSeries( Reference< chart2::XChartType > xChartType, sal_
case chart::TYPEID_SCATTER:
{
exportMarker( );
- exportSmooth( );
break;
}
case chart::TYPEID_RADARLINE:
@@ -1723,6 +1722,9 @@ void ChartExport::exportSeries( Reference< chart2::XChartType > xChartType, sal_
exportSeriesValues( xValuesSeq, nYValueType );
}
+ if( eChartType == chart::TYPEID_SCATTER )
+ exportSmooth();
+
pFS->endElement( FSNS( XML_c, XML_ser ) );
}
}
More information about the Libreoffice-commits
mailing list