[Libreoffice-commits] .: oox/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Thu Sep 20 03:52:54 PDT 2012
oox/source/export/chartexport.cxx | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit f3b2fc9be23739cec600b349e6b28b71be9acc3d
Author: Radek Doulik <rodo at novell.com>
Date: Thu Sep 20 12:46:15 2012 +0200
write only non NaN chart series values (fixes part of n#760997
Change-Id: I7c5bc8b9375a325d4ea78f033f577eff44cfd6e9
diff --git a/oox/source/export/chartexport.cxx b/oox/source/export/chartexport.cxx
index b51afcf..6519543 100644
--- a/oox/source/export/chartexport.cxx
+++ b/oox/source/export/chartexport.cxx
@@ -1801,7 +1801,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 ) );
}
More information about the Libreoffice-commits
mailing list