diff options
author | Radek Doulik <rodo@novell.com> | 2012-09-20 12:46:15 +0200 |
---|---|---|
committer | Radek Doulik <rodo@novell.com> | 2012-10-15 15:19:21 +0200 |
commit | f75e2ed065031b1d447d58253d6993b590220ca6 (patch) | |
tree | 5b3730189bb0dfa82db3c9feee5f406b90ef2319 | |
parent | 770fc015b4099b20abc259f2d7ed14b6bed9ebad (diff) |
write only non NaN chart series values (fixes part of n#760997
Change-Id: I7c5bc8b9375a325d4ea78f033f577eff44cfd6e9
-rw-r--r-- | oox/source/export/chartexport.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/oox/source/export/chartexport.cxx b/oox/source/export/chartexport.cxx index 9d68be9bbde2..1e485ab9adb4 100644 --- a/oox/source/export/chartexport.cxx +++ b/oox/source/export/chartexport.cxx @@ -1810,7 +1810,8 @@ void ChartExport::exportSeriesValues( const Reference< chart2::data::XDataSequen FSEND ); pFS->startElement( FSNS( XML_c, XML_v ), FSEND ); - pFS->write( aValues[i] ); + if (aValues[i] == aValues[i]) + pFS->write( aValues[i] ); pFS->endElement( FSNS( XML_c, XML_v ) ); pFS->endElement( FSNS( XML_c, XML_pt ) ); } |