summaryrefslogtreecommitdiffstats
path: root/src/sp-path.cpp
diff options
context:
space:
mode:
authorJohan B. C. Engelen <jbc.engelen@swissonline.ch>2013-10-04 20:24:32 +0000
committerJohan B. C. Engelen <j.b.c.engelen@alumnus.utwente.nl>2013-10-04 20:24:32 +0000
commiteedaac6439c0c4edb489643335fcfc003607bf08 (patch)
treeb4e7fd9d1051af877ef1f0c821fe4951b2fce554 /src/sp-path.cpp
parentDo not allow NULL _spcurve to be set in PathManipulator. (diff)
downloadinkscape-eedaac6439c0c4edb489643335fcfc003607bf08.tar.gz
inkscape-eedaac6439c0c4edb489643335fcfc003607bf08.zip
LPE: add some const correctness, remove unused function, and fix potential crash bug
(bzr r12656)
Diffstat (limited to 'src/sp-path.cpp')
-rw-r--r--src/sp-path.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sp-path.cpp b/src/sp-path.cpp
index af2f02328..5c347e485 100644
--- a/src/sp-path.cpp
+++ b/src/sp-path.cpp
@@ -265,7 +265,7 @@ Geom::Affine SPPath::set_transform(Geom::Affine const &transform) {
// Transform the original-d path if this is a valid LPE this, other else the (ordinary) path
if (_curve_before_lpe && hasPathEffectRecursive()) {
- if (getPathEffectOfType(Inkscape::LivePathEffect::CLONE_ORIGINAL)) {
+ if (this->hasPathEffectOfType(Inkscape::LivePathEffect::CLONE_ORIGINAL)) {
// if path has the CLONE_ORIGINAL LPE applied, don't write the transform to the pathdata, but write it 'unoptimized'
return transform;
} else {