diff options
Diffstat (limited to 'basegfx')
-rw-r--r-- | basegfx/source/range/b2dpolyrange.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/basegfx/source/range/b2dpolyrange.cxx b/basegfx/source/range/b2dpolyrange.cxx index 3722ca467bc3..3aec84dd6040 100644 --- a/basegfx/source/range/b2dpolyrange.cxx +++ b/basegfx/source/range/b2dpolyrange.cxx @@ -80,11 +80,11 @@ namespace basegfx return false; const std::vector<B2DRange>::const_iterator aEnd( maRanges.end() ); - return std::find_if( maRanges.begin(), + return std::any_of( maRanges.begin(), aEnd, boost::bind<bool>( boost::mem_fn( &B2DRange::overlaps ), _1, - boost::cref(rRange) ) ) != aEnd; + boost::cref(rRange) ) ); } B2DPolyPolygon solveCrossovers() const |