diff options
| author | root <root@jtx.marker.es> | 2013-09-26 20:30:21 +0000 |
|---|---|---|
| committer | root <root@jtx.marker.es> | 2013-09-26 20:30:21 +0000 |
| commit | 264ef999acc789934e0e3956e953fddbc796d8b1 (patch) | |
| tree | e842cea47c58a328b6f3e7d35fe9bbc7c1c074e7 /src/ui/dialog/livepatheffect-editor.cpp | |
| parent | Fixing ending selection (diff) | |
| parent | Fix for Bug #1229605 (inkscape crashes when canceled import pdf). (diff) | |
| download | inkscape-264ef999acc789934e0e3956e953fddbc796d8b1.tar.gz inkscape-264ef999acc789934e0e3956e953fddbc796d8b1.zip | |
update to trunk
(bzr r12588.1.7)
Diffstat (limited to 'src/ui/dialog/livepatheffect-editor.cpp')
| -rw-r--r-- | src/ui/dialog/livepatheffect-editor.cpp | 4 |
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) ) { |
