libreoffice/libreoffice-5.1.1.1-gcc-5.3-std-isnan.patch

12 lines
611 B
Diff
Raw Permalink Normal View History

--- libreoffice-5.1.1.1/xmloff/source/draw/ximp3dscene.cxx.orig 2016-03-16 18:40:03.810865813 +0100
+++ libreoffice-5.1.1.1/xmloff/source/draw/ximp3dscene.cxx 2016-03-16 18:40:54.423826654 +0100
@@ -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;
}