summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/chart/SchXMLExport.cxx6
-rw-r--r--xmloff/source/draw/ximp3dscene.cxx2
2 files changed, 4 insertions, 4 deletions
diff --git a/xmloff/source/chart/SchXMLExport.cxx b/xmloff/source/chart/SchXMLExport.cxx
index 7b3884933e1c..dd56e8fc658e 100644
--- a/xmloff/source/chart/SchXMLExport.cxx
+++ b/xmloff/source/chart/SchXMLExport.cxx
@@ -663,7 +663,7 @@ uno::Sequence< OUString > lcl_DataSequenceToStringSequence(
{
//lcl_clearIfNoValuesButTextIsContained - replace by indices if the values are not appropriate
bool bHasValue = std::any_of(aValuesSequence.begin(), aValuesSequence.end(),
- [](double fValue) { return !::rtl::math::isNan( fValue ); });
+ [](double fValue) { return !std::isnan( fValue ); });
if(!bHasValue)
{
//no double value is contained
@@ -2491,7 +2491,7 @@ namespace
if( xNumericalDataSequence.is() )
{
Sequence< double > aDoubles( xNumericalDataSequence->getNumericalData() );
- if (std::any_of(aDoubles.begin(), aDoubles.end(), [](double fDouble) { return !::rtl::math::isNan( fDouble ); }))
+ if (std::any_of(aDoubles.begin(), aDoubles.end(), [](double fDouble) { return !std::isnan( fDouble ); }))
return false;//have double value
}
else
@@ -2499,7 +2499,7 @@ namespace
aData = xDataSequence->getData();
double fDouble = 0.0;
bool bHaveDouble = std::any_of(aData.begin(), aData.end(),
- [&fDouble](const uno::Any& rData) { return (rData >>= fDouble) && !::rtl::math::isNan( fDouble ); });
+ [&fDouble](const uno::Any& rData) { return (rData >>= fDouble) && !std::isnan( fDouble ); });
if (bHaveDouble)
return false;//have double value
}
diff --git a/xmloff/source/draw/ximp3dscene.cxx b/xmloff/source/draw/ximp3dscene.cxx
index 2d9c1b479d38..5fe0674c429a 100644
--- a/xmloff/source/draw/ximp3dscene.cxx
+++ b/xmloff/source/draw/ximp3dscene.cxx
@@ -69,7 +69,7 @@ SdXML3DLightContext::SdXML3DLightContext(
{
::basegfx::B3DVector aVal;
SvXMLUnitConverter::convertB3DVector(aVal, sValue);
- if (!rtl::math::isNan(aVal.getX()) && !rtl::math::isNan(aVal.getY()) && !rtl::math::isNan(aVal.getZ()))
+ if (!std::isnan(aVal.getX()) && !std::isnan(aVal.getY()) && !std::isnan(aVal.getZ()))
{
maDirection = aVal;
}