summaryrefslogtreecommitdiffstats
path: root/src/2geom/line.cpp
diff options
context:
space:
mode:
authorJohan B. C. Engelen <jbc.engelen@swissonline.ch>2012-01-04 18:17:44 +0000
committerJohan Engelen <goejendaagh@zonnet.nl>2012-01-04 18:17:44 +0000
commit71fb33927ed70360073e7063c447b5ac46ee7c60 (patch)
tree828bcdcddf9a1a3030fc758ef5d0a1193959ce3b /src/2geom/line.cpp
parentMore GSEAL issues (diff)
downloadinkscape-71fb33927ed70360073e7063c447b5ac46ee7c60.tar.gz
inkscape-71fb33927ed70360073e7063c447b5ac46ee7c60.zip
update 2geom to r2049. fixes bugs!
(bzr r10837)
Diffstat (limited to 'src/2geom/line.cpp')
-rw-r--r--src/2geom/line.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/2geom/line.cpp b/src/2geom/line.cpp
index 5ef8dfddc..471ce256c 100644
--- a/src/2geom/line.cpp
+++ b/src/2geom/line.cpp
@@ -464,7 +464,7 @@ boost::optional<LineSegment> clip (Line const& l, Rect const& r)
return opt_linesegment(ls);
}
}
- if (points.size() != 0)
+ if ( !points.empty() )
{
result.setInitial (points[0]);
result.setFinal (points[0]);