summaryrefslogtreecommitdiffstats
path: root/src/splivarot.cpp
diff options
context:
space:
mode:
authorJohan B. C. Engelen <jbc.engelen@swissonline.ch>2008-08-03 03:26:27 +0000
committerjohanengelen <johanengelen@users.sourceforge.net>2008-08-03 03:26:27 +0000
commitccdbe79fc18865397c37bb69c2ac0059f2387f94 (patch)
tree1c81deacc6d9b677308d1c75b6af71bccfbd206a /src/splivarot.cpp
parenthopefully fixed last error in nodepath... (diff)
downloadinkscape-ccdbe79fc18865397c37bb69c2ac0059f2387f94.tar.gz
inkscape-ccdbe79fc18865397c37bb69c2ac0059f2387f94.zip
remove many needless references to n-art-bpath.h
(bzr r6540)
Diffstat (limited to 'src/splivarot.cpp')
-rw-r--r--src/splivarot.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/splivarot.cpp b/src/splivarot.cpp
index 9185ec84b..6d592f662 100644
--- a/src/splivarot.cpp
+++ b/src/splivarot.cpp
@@ -1741,11 +1741,8 @@ Path *
Path_for_item(SPItem *item, bool doTransformation, bool transformFull)
{
SPCurve *curve = curve_for_item(item);
- NArtBpath *bpath = bpath_for_curve(item, curve, doTransformation, transformFull, NR::identity(), NR::identity());
-
- if (bpath == NULL) {
+ if (curve == NULL)
return NULL;
- }
Geom::PathVector pathv = pathvector_for_curve(item, curve, doTransformation, transformFull);