summaryrefslogtreecommitdiffstats
path: root/src/sp-path.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/sp-path.cpp')
-rw-r--r--src/sp-path.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/sp-path.cpp b/src/sp-path.cpp
index 8327cb88d..47d63b2b9 100644
--- a/src/sp-path.cpp
+++ b/src/sp-path.cpp
@@ -166,8 +166,7 @@ sp_path_convert_to_guides(SPItem *item)
}
}
- SPDocument *doc = SP_OBJECT_DOCUMENT(path);
- sp_guide_pt_pairs_to_guides(doc, pts);
+ sp_guide_pt_pairs_to_guides(inkscape_active_desktop(), pts);
}
/**