stop right away if there are no points
Change-Id: I099db29c066392f53935f78f62c122f7176aaea2
This commit is contained in:
parent
d25342d332
commit
ef2f40f558
@ -1953,6 +1953,8 @@ void VDataSeriesGroup::calculateYMinAndMaxForCategoryRange(
|
||||
if(nStartCategoryIndex<0)
|
||||
nStartCategoryIndex=0;
|
||||
const sal_Int32 nPointCount = getPointCount();//necessary to create m_aListOfCachedYValues
|
||||
if(nPointCount <= 0)
|
||||
return;
|
||||
if (nEndCategoryIndex >= nPointCount)
|
||||
nEndCategoryIndex = nPointCount - 1;
|
||||
if(nEndCategoryIndex<0)
|
||||
|
Loading…
x
Reference in New Issue
Block a user