summaryrefslogtreecommitdiffstats
path: root/src/sp-shape.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/sp-shape.cpp')
-rw-r--r--src/sp-shape.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sp-shape.cpp b/src/sp-shape.cpp
index 8f3d5117f..7efe28dd8 100644
--- a/src/sp-shape.cpp
+++ b/src/sp-shape.cpp
@@ -1003,7 +1003,7 @@ SPCurve * SPShape::getCurve() const
*/
SPCurve * SPShape::getCurveBeforeLPE() const
{
- if (sp_lpe_item_has_path_effect(this)) {
+ if (hasPathEffect()) {
if (_curve_before_lpe) {
return this->_curve_before_lpe->copy();
}