chart2/source/view/main/VDataSeries.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit b27417623835b1c82475783979a1fb9656b5155e Author: Caolán McNamara <caol...@redhat.com> Date: Wed Aug 19 20:01:29 2015 +0100 crashtesting: failure on ooo82676-1.sxc import regression from commit b3abc191e24bd2e812836257024d14557a6238ce Author: Laurent Balland-Poirier <laurent.balland-poir...@laposte.net> Date: Wed Jun 17 15:15:07 2015 +0200 Change-Id: I44cfd85e9f7be65929281169fd297252e00c7317 diff --git a/chart2/source/view/main/VDataSeries.cxx b/chart2/source/view/main/VDataSeries.cxx index 6667cbb..8512c19 100644 --- a/chart2/source/view/main/VDataSeries.cxx +++ b/chart2/source/view/main/VDataSeries.cxx @@ -521,7 +521,7 @@ void VDataSeries::getMinMaxXValue(double& fMin, double& fMax) const if(aValuesX.getLength() > 0) { sal_Int32 i = 0; - while ( ::rtl::math::isNan( aValuesX[i] ) && i < aValuesX.getLength() ) + while ( i < aValuesX.getLength() && ::rtl::math::isNan(aValuesX[i]) ) i++; if ( i < aValuesX.getLength() ) fMax = fMin = aValuesX[i++];
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits