summaryrefslogtreecommitdiffstats
path: root/src/sp-line.cpp
diff options
context:
space:
mode:
authorJohan B. C. Engelen <jbc.engelen@swissonline.ch>2011-07-19 18:24:59 +0000
committerJohan Engelen <goejendaagh@zonnet.nl>2011-07-19 18:24:59 +0000
commit97b1c4d688a979eb8e327c13c6bcc6fad20902f2 (patch)
tree2c2c73c29be8911a89a752136c25d65b9abd5684 /src/sp-line.cpp
parentBuild depends on Cairo 1.10 or higher (diff)
downloadinkscape-97b1c4d688a979eb8e327c13c6bcc6fad20902f2.tar.gz
inkscape-97b1c4d688a979eb8e327c13c6bcc6fad20902f2.zip
remove some unnecessary inkscape_active_desktop() calls
(bzr r10477)
Diffstat (limited to 'src/sp-line.cpp')
-rw-r--r--src/sp-line.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sp-line.cpp b/src/sp-line.cpp
index 0f467b68e..d3faf2299 100644
--- a/src/sp-line.cpp
+++ b/src/sp-line.cpp
@@ -184,7 +184,7 @@ void SPLine::convertToGuides(SPItem *item)
points[0] = Geom::Point(line->x1.computed, line->y1.computed)*i2dt;
points[1] = Geom::Point(line->x2.computed, line->y2.computed)*i2dt;
- SPGuide::createSPGuide(inkscape_active_desktop(), points[0], points[1]);
+ SPGuide::createSPGuide(item->document, points[0], points[1]);
}
Geom::Affine SPLine::setTransform(SPItem *item, Geom::Affine const &xform)