summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2014-01-25 07:00:52 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2014-01-25 07:11:26 +0100
commit8b1cf5ab9e54e20282581088c13d470d66afaf8a (patch)
treead0ece97cfe490a2e7557f421ed0972751570eb2 /oox
parentba697931a74e047206739c1935dc06a0890c5661 (diff)
OOXML validation fix for charts
smooth entry was written too early Change-Id: I200f67dd70c8efa0f46fbe177add36b6c80a96f4
Diffstat (limited to 'oox')
-rw-r--r--oox/source/export/chartexport.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/oox/source/export/chartexport.cxx b/oox/source/export/chartexport.cxx
index a795aacda9ff..1c8281630241 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 ) );
}
}