summaryrefslogtreecommitdiff
path: root/chart2/source/view/main
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@collabora.co.uk>2014-06-22 03:11:35 +0200
committerMarkus Mohrhard <markus.mohrhard@collabora.co.uk>2014-06-22 05:05:00 +0200
commitd005413c2e3d1a22a6560cea504aba6f011794e0 (patch)
treee59b22f613af9171e0e1d92c4126bcbe3abf7fec /chart2/source/view/main
parent48fe2c03758dbfb68868a1746ccf1ed67167781b (diff)
don't try to set property mapping if there is no value
Change-Id: I422d651e303553e2ce30895b44b8d96664418c19
Diffstat (limited to 'chart2/source/view/main')
-rw-r--r--chart2/source/view/main/VDataSeries.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/chart2/source/view/main/VDataSeries.cxx b/chart2/source/view/main/VDataSeries.cxx
index bd087c70f92c..e799f2200c78 100644
--- a/chart2/source/view/main/VDataSeries.cxx
+++ b/chart2/source/view/main/VDataSeries.cxx
@@ -1065,7 +1065,7 @@ double VDataSeries::getValueByProperty( sal_Int32 nIndex, const OUString& rPropN
if(itr == maPropertyMap.end())
{
double fNan;
- ::rtl::math::setNan( & fNan );
+ ::rtl::math::setNan( &fNan );
return fNan;
}