Fix typo in code
Change-Id: Ib8f421fad6bcbbf8ebf31391028015190dd0ceac Reviewed-on: https://gerrit.libreoffice.org/c/core/+/209482 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Jenkins
This commit is contained in:
committed by
Julien Nabet
parent
0dcee64773
commit
d258ffe6cc
@@ -539,16 +539,16 @@ public:
|
||||
// subdividing the bezier segment.
|
||||
// Ideal here is a subdivision at the extreme values, so use
|
||||
// getAllExtremumPositions to get all extrema in one run
|
||||
std::vector< double > aExtremas;
|
||||
std::vector< double > aExtrema;
|
||||
|
||||
aExtremas.reserve(4);
|
||||
aEdge.getAllExtremumPositions(aExtremas);
|
||||
aExtrema.reserve(4);
|
||||
aEdge.getAllExtremumPositions(aExtrema);
|
||||
|
||||
const sal_uInt32 nExtremaCount(aExtremas.size());
|
||||
const sal_uInt32 nExtremaCount(aExtrema.size());
|
||||
|
||||
for(sal_uInt32 c(0); c < nExtremaCount; c++)
|
||||
{
|
||||
aNewRange.expand(aEdge.interpolatePoint(aExtremas[c]));
|
||||
aNewRange.expand(aEdge.interpolatePoint(aExtrema[c]));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user