summaryrefslogtreecommitdiffstats
path: root/src/draw-context.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/draw-context.cpp')
-rw-r--r--src/draw-context.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/draw-context.cpp b/src/draw-context.cpp
index 13ba9f828..adcbc3b3c 100644
--- a/src/draw-context.cpp
+++ b/src/draw-context.cpp
@@ -528,9 +528,7 @@ spdc_flush_white(SPDrawContext *dc, SPCurve *gc)
Inkscape::XML::Node *repr;
if (dc->white_item) {
repr = SP_OBJECT_REPR(dc->white_item);
- LivePathEffectObject *lpeobj = sp_shape_get_livepatheffectobject(SP_SHAPE(dc->white_item));
- if (lpeobj)
- has_lpe = true;
+ has_lpe = sp_lpe_item_has_path_effect_recursive(SP_LPE_ITEM(dc->white_item));
} else {
repr = xml_doc->createElement("svg:path");
/* Set style */