Kaydet (Commit) 5feff80f authored tarafından Michael Meeks's avatar Michael Meeks

targetted minor size vs. empty reversion

Change-Id: I35aef43b4dd023440509faaa8c73a0e5a45d37a7
üst 9bd64312
......@@ -903,7 +903,7 @@ namespace basegfx
// first step: prepareForPolygonOperation and simple merge of non-overlapping
// PolyPolygons for speedup; this is possible for the wanted OR-operation
if(!aInput.empty())
if(aInput.size())
{
std::vector< basegfx::B2DPolyPolygon > aResult;
aResult.reserve(aInput.size());
......@@ -912,7 +912,7 @@ namespace basegfx
{
const basegfx::B2DPolyPolygon aCandidate(prepareForPolygonOperation(aInput[a]));
if(!aResult.empty())
if(aResult.size())
{
const B2DRange aCandidateRange(aCandidate.getB2DRange());
bool bCouldMergeSimple(false);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment