diff options
Diffstat (limited to 'office/LibreOffice/010_isnan.diff')
-rw-r--r-- | office/LibreOffice/010_isnan.diff | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/office/LibreOffice/010_isnan.diff b/office/LibreOffice/010_isnan.diff new file mode 100644 index 0000000000..166046331e --- /dev/null +++ b/office/LibreOffice/010_isnan.diff @@ -0,0 +1,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; + } |