summaryrefslogtreecommitdiff
path: root/office/LibreOffice/010_isnan.diff
blob: 166046331ee088f16575b4e6be665b1fa19b0a7b (plain)
1
2
3
4
5
6
7
8
9
10
11
--- xmloff/source/draw/ximp3dscene.cxx.orig	2016-03-01 09:20:43.000000000 +1000
+++ xmloff/source/draw/ximp3dscene.cxx	2016-03-15 23:28:54.841653352 +1000
@@ -66,7 +66,7 @@
             {
                 ::basegfx::B3DVector aVal;
                 SvXMLUnitConverter::convertB3DVector(aVal, sValue);
-                if (!isnan(aVal.getX()) && !isnan(aVal.getY()) && !isnan(aVal.getZ()))
+                if (!std::isnan(aVal.getX()) && !std::isnan(aVal.getY()) && !std::isnan(aVal.getZ()))
                 {
                     maDirection = aVal;
                 }