summaryrefslogtreecommitdiffstats
path: root/src/lpe-tool-context.cpp
diff options
context:
space:
mode:
authorJohan B. C. Engelen <jbc.engelen@swissonline.ch>2013-10-04 21:57:28 +0000
committerJohan B. C. Engelen <j.b.c.engelen@alumnus.utwente.nl>2013-10-04 21:57:28 +0000
commit4f857ae84089672e9c7378d327e54889f64c62fb (patch)
treeb899e1d4f41027674eeb35fc70e0fed4484e34b6 /src/lpe-tool-context.cpp
parentC++ (diff)
downloadinkscape-4f857ae84089672e9c7378d327e54889f64c62fb.tar.gz
inkscape-4f857ae84089672e9c7378d327e54889f64c62fb.zip
C++
(bzr r12660)
Diffstat (limited to 'src/lpe-tool-context.cpp')
-rw-r--r--src/lpe-tool-context.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lpe-tool-context.cpp b/src/lpe-tool-context.cpp
index bcf58aaf3..edc9a6930 100644
--- a/src/lpe-tool-context.cpp
+++ b/src/lpe-tool-context.cpp
@@ -290,7 +290,7 @@ int lpetool_item_has_construction(SPLPEToolContext */*lc*/, SPItem *item)
return -1;
}
- Inkscape::LivePathEffect::Effect* lpe = sp_lpe_item_get_current_lpe(SP_LPE_ITEM(item));
+ Inkscape::LivePathEffect::Effect* lpe = SP_LPE_ITEM(item)->getCurrentLPE();
if (!lpe) {
return -1;
}