From a7b81ceaa695d0265b5cc02e4ead642b9b9ad54a Mon Sep 17 00:00:00 2001 From: Markus Mohrhard Date: Sat, 5 Jul 2014 05:56:24 +0200 Subject: use empty instead of size to check if vector is empty Change-Id: I6c90b95bdf2de441594d5d5c36f76e6aeeb74011 --- basegfx/source/polygon/b2dtrapezoid.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'basegfx') 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 -- cgit