summaryrefslogtreecommitdiffstats
path: root/src/path-chemistry.cpp
diff options
context:
space:
mode:
authorJohan B. C. Engelen <jbc.engelen@swissonline.ch>2013-09-25 21:51:52 +0000
committerJohan B. C. Engelen <j.b.c.engelen@alumnus.utwente.nl>2013-09-25 21:51:52 +0000
commit96190a607cf8edbcb8d4d2f88f0e451cf6abfa83 (patch)
tree23926255835e7dba58563cfa2ef818abd528d43e /src/path-chemistry.cpp
parentpatch by Tomasz Boczkowski for missing Windows icon (Bug 1228591) (diff)
downloadinkscape-96190a607cf8edbcb8d4d2f88f0e451cf6abfa83.tar.gz
inkscape-96190a607cf8edbcb8d4d2f88f0e451cf6abfa83.zip
C++ify calling a few SPLPEItem functions, much more work than expected... slowly slowly...
(bzr r12593)
Diffstat (limited to 'src/path-chemistry.cpp')
-rw-r--r--src/path-chemistry.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/path-chemistry.cpp b/src/path-chemistry.cpp
index e1924664b..52569dd21 100644
--- a/src/path-chemistry.cpp
+++ b/src/path-chemistry.cpp
@@ -628,7 +628,7 @@ sp_selected_path_reverse(SPDesktop *desktop)
SPCurve *rcurve = path->get_curve_reference()->create_reverse();
gchar *str = sp_svg_write_path(rcurve->get_pathvector());
- if ( sp_lpe_item_has_path_effect_recursive(SP_LPE_ITEM(path)) ) {
+ if ( path->hasPathEffectRecursive() ) {
path->getRepr()->setAttribute("inkscape:original-d", str);
} else {
path->getRepr()->setAttribute("d", str);