summaryrefslogtreecommitdiffstats
path: root/src/sp-rect.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-rect.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-rect.cpp')
-rw-r--r--src/sp-rect.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sp-rect.cpp b/src/sp-rect.cpp
index ec83a47e9..467b37d17 100644
--- a/src/sp-rect.cpp
+++ b/src/sp-rect.cpp
@@ -624,7 +624,7 @@ sp_rect_convert_to_guides(SPItem *item) {
pts.push_back(std::make_pair(A3, A4));
pts.push_back(std::make_pair(A4, A1));
- sp_guide_pt_pairs_to_guides(inkscape_active_desktop(), pts);
+ sp_guide_pt_pairs_to_guides(item->document, pts);
}
/*