Lines 192-197
Link Here
|
192 |
sal_Int32 nNewResultPointCount = rResultPointCount[nPolygonIndex]+1; |
192 |
sal_Int32 nNewResultPointCount = rResultPointCount[nPolygonIndex]+1; |
193 |
sal_Int32 nSeqLength = pOuterSequenceX->getLength(); |
193 |
sal_Int32 nSeqLength = pOuterSequenceX->getLength(); |
194 |
|
194 |
|
|
|
195 |
if(nNewResultPointCount<0) |
196 |
{ |
197 |
OSL_ENSURE( false, "The point count needs to be > 0"); |
198 |
return; |
199 |
} |
200 |
|
195 |
if( nSeqLength <= nNewResultPointCount ) |
201 |
if( nSeqLength <= nNewResultPointCount ) |
196 |
{ |
202 |
{ |
197 |
sal_Int32 nReallocLength = nReservePointCount; |
203 |
sal_Int32 nReallocLength = nReservePointCount; |