silence cppcheck

Change-Id: Iea597af9335aa6314a9465ec61cbaae9867a4cf4
This commit is contained in:
Markus Mohrhard
2013-12-14 11:13:52 +01:00
parent 3c5dd9812b
commit af7b4eca3d

View File

@@ -85,6 +85,8 @@
#include "ColorPropertySet.hxx"
#include <set>
#include <rtl/math.hxx>
using namespace ::com::sun::star;
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::drawing;
@@ -1819,7 +1821,7 @@ void ChartExport::exportSeriesValues( const Reference< chart2::data::XDataSequen
FSEND );
pFS->startElement( FSNS( XML_c, XML_v ),
FSEND );
if (aValues[i] == aValues[i])
if (!rtl::math::isNan(aValues[i]))
pFS->write( aValues[i] );
pFS->endElement( FSNS( XML_c, XML_v ) );
pFS->endElement( FSNS( XML_c, XML_pt ) );