diff options
author | Markus Mohrhard <markus.mohrhard@collabora.co.uk> | 2014-07-05 05:56:24 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2014-07-06 02:15:20 +0200 |
commit | a7b81ceaa695d0265b5cc02e4ead642b9b9ad54a (patch) | |
tree | abefb0e7e4cd317e102da2c1c56f0a1ba35c965b /basegfx | |
parent | 10f696d103bcf0ba2e3f76eb4ff7a4c70fe4683c (diff) |
use empty instead of size to check if vector is empty
Change-Id: I6c90b95bdf2de441594d5d5c36f76e6aeeb74011
Diffstat (limited to 'basegfx')
-rw-r--r-- | basegfx/source/polygon/b2dtrapezoid.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/basegfx/source/polygon/b2dtrapezoid.cxx b/basegfx/source/polygon/b2dtrapezoid.cxx index 13184f965a0b..5357e6255134 100644 --- a/basegfx/source/polygon/b2dtrapezoid.cxx +++ b/basegfx/source/polygon/b2dtrapezoid.cxx @@ -415,7 +415,7 @@ namespace basegfx void solveHorizontalEdges(TrDeSimpleEdges& rTrDeSimpleEdges) { - if(rTrDeSimpleEdges.size() && maTrDeEdgeEntries.size()) + if(!rTrDeSimpleEdges.empty() && !maTrDeEdgeEntries.empty()) { // there were horizontal edges. These can be excluded, but // cuts with other edges need to be solved and added before |