Kaydet (Commit) a7b81cea authored tarafından Markus Mohrhard's avatar Markus Mohrhard Kaydeden (comit) Markus Mohrhard

use empty instead of size to check if vector is empty

Change-Id: I6c90b95bdf2de441594d5d5c36f76e6aeeb74011
üst 10f696d1
...@@ -415,7 +415,7 @@ namespace basegfx ...@@ -415,7 +415,7 @@ namespace basegfx
void solveHorizontalEdges(TrDeSimpleEdges& rTrDeSimpleEdges) void solveHorizontalEdges(TrDeSimpleEdges& rTrDeSimpleEdges)
{ {
if(rTrDeSimpleEdges.size() && maTrDeEdgeEntries.size()) if(!rTrDeSimpleEdges.empty() && !maTrDeEdgeEntries.empty())
{ {
// there were horizontal edges. These can be excluded, but // there were horizontal edges. These can be excluded, but
// cuts with other edges need to be solved and added before // cuts with other edges need to be solved and added before
......
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