summaryrefslogtreecommitdiffstats
path: root/src/livarot/PathCutting.cpp
diff options
context:
space:
mode:
authorKrzysztof Kosi??ski <tweenk.pl@gmail.com>2010-08-04 23:56:47 +0000
committerKrzysztof KosiƄski <tweenk.pl@gmail.com>2010-08-04 23:56:47 +0000
commit498629f82d9453cb7222ab642b867c183fdf1666 (patch)
tree33bb4b8bffc1f67c2167d393e928aee743fdce9d /src/livarot/PathCutting.cpp
parentFix artifacts in Gaussian blur and other filters inadvertently (diff)
downloadinkscape-498629f82d9453cb7222ab642b867c183fdf1666.tar.gz
inkscape-498629f82d9453cb7222ab642b867c183fdf1666.zip
Wholesale cruft removal part 3
(bzr r9508.1.47)
Diffstat (limited to 'src/livarot/PathCutting.cpp')
-rw-r--r--src/livarot/PathCutting.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/livarot/PathCutting.cpp b/src/livarot/PathCutting.cpp
index 91f6f9ec4..35e9cb687 100644
--- a/src/livarot/PathCutting.cpp
+++ b/src/livarot/PathCutting.cpp
@@ -510,10 +510,10 @@ double Path::Surface()
for (std::vector<path_lineto>::const_iterator i = pts.begin(); i != pts.end(); i++) {
if ( i->isMoveTo == polyline_moveto ) {
- surf += NR::cross(lastM - lastP, lastM);
+ surf += Geom::cross(lastM - lastP, lastM);
lastP = lastM = i->p;
} else {
- surf += NR::cross(i->p - lastP, i->p);
+ surf += Geom::cross(i->p - lastP, i->p);
lastP = i->p;
}