diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-08-19 20:01:29 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-08-19 20:08:58 +0100 |
commit | b27417623835b1c82475783979a1fb9656b5155e (patch) | |
tree | 339374817109a419afded650e7111419c14f9e28 /chart2 | |
parent | a4de770bab5e05af42dcd790b1e4a54fcc758e6c (diff) |
crashtesting: failure on ooo82676-1.sxc import
regression from
commit b3abc191e24bd2e812836257024d14557a6238ce
Author: Laurent Balland-Poirier <laurent.balland-poirier@laposte.net>
Date: Wed Jun 17 15:15:07 2015 +0200
Change-Id: I44cfd85e9f7be65929281169fd297252e00c7317
Diffstat (limited to 'chart2')
-rw-r--r-- | chart2/source/view/main/VDataSeries.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chart2/source/view/main/VDataSeries.cxx b/chart2/source/view/main/VDataSeries.cxx index 6667cbbefca3..8512c19cb4f5 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++]; |