summaryrefslogtreecommitdiffstats
path: root/src/ui/dialog/livepatheffect-editor.cpp
diff options
context:
space:
mode:
authorMarkus Engel <markus.engel@tum.de>2013-09-26 13:58:07 +0000
committerMarkus Engel <markus.engel@tum.de>2013-09-26 13:58:07 +0000
commit6b9ba8cf7566379303fe41fd98cc660a8e1022e2 (patch)
tree71bef633bfc255edfa17887a9bbcec507889c68d /src/ui/dialog/livepatheffect-editor.cpp
parentC++ify calling a few SPLPEItem functions, much more work than expected... slo... (diff)
parentMerged from trunk (r12593). (diff)
downloadinkscape-6b9ba8cf7566379303fe41fd98cc660a8e1022e2.tar.gz
inkscape-6b9ba8cf7566379303fe41fd98cc660a8e1022e2.zip
More refactoring, creation of member methods, ...
(bzr r12594)
Diffstat (limited to 'src/ui/dialog/livepatheffect-editor.cpp')
-rw-r--r--src/ui/dialog/livepatheffect-editor.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/dialog/livepatheffect-editor.cpp b/src/ui/dialog/livepatheffect-editor.cpp
index 2319d2c70..e96b57170 100644
--- a/src/ui/dialog/livepatheffect-editor.cpp
+++ b/src/ui/dialog/livepatheffect-editor.cpp
@@ -296,7 +296,7 @@ LivePathEffectEditor::onSelectionChanged(Inkscape::Selection *sel)
}
} else if ( SP_IS_USE(item) ) {
// test whether linked object is supported by the CLONE_ORIGINAL LPE
- SPItem *orig = sp_use_get_original( SP_USE(item) );
+ SPItem *orig = SP_USE(item)->get_original();
if ( SP_IS_SHAPE(orig) ||
SP_IS_TEXT(orig) )
{
@@ -433,7 +433,7 @@ LivePathEffectEditor::onAdd()
// convert to path, apply CLONE_ORIGINAL LPE, link it to the cloned path
// test whether linked object is supported by the CLONE_ORIGINAL LPE
- SPItem *orig = sp_use_get_original( SP_USE(item) );
+ SPItem *orig = SP_USE(item)->get_original();
if ( SP_IS_SHAPE(orig) ||
SP_IS_TEXT(orig) )
{