summaryrefslogtreecommitdiffstats
path: root/src/sp-clippath.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/sp-clippath.cpp')
-rw-r--r--src/sp-clippath.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/sp-clippath.cpp b/src/sp-clippath.cpp
index 25bf77f00..c0c848bbd 100644
--- a/src/sp-clippath.cpp
+++ b/src/sp-clippath.cpp
@@ -128,7 +128,7 @@ void SPClipPath::update(SPCtx* ctx, unsigned int flags) {
flags &= SP_OBJECT_MODIFIED_CASCADE;
GSList *l = NULL;
- for (auto& child: _children) {
+ for (auto& child: children) {
sp_object_ref(&child);
l = g_slist_prepend(l, &child);
}
@@ -167,7 +167,7 @@ void SPClipPath::modified(unsigned int flags) {
flags &= SP_OBJECT_MODIFIED_CASCADE;
GSList *l = NULL;
- for (auto& child: _children) {
+ for (auto& child: children) {
sp_object_ref(&child);
l = g_slist_prepend(l, &child);
}
@@ -200,7 +200,7 @@ Inkscape::DrawingItem *SPClipPath::show(Inkscape::Drawing &drawing, unsigned int
Inkscape::DrawingGroup *ai = new Inkscape::DrawingGroup(drawing);
display = sp_clippath_view_new_prepend(display, key, ai);
- for (auto& child: _children) {
+ for (auto& child: children) {
if (SP_IS_ITEM(&child)) {
Inkscape::DrawingItem *ac = SP_ITEM(&child)->invoke_show(drawing, key, SP_ITEM_REFERENCE_FLAGS);
@@ -223,7 +223,7 @@ Inkscape::DrawingItem *SPClipPath::show(Inkscape::Drawing &drawing, unsigned int
}
void SPClipPath::hide(unsigned int key) {
- for (auto& child: _children) {
+ for (auto& child: children) {
if (SP_IS_ITEM(&child)) {
SP_ITEM(&child)->invoke_hide(key);
}
@@ -252,7 +252,7 @@ void SPClipPath::setBBox(unsigned int key, Geom::OptRect const &bbox) {
Geom::OptRect SPClipPath::geometricBounds(Geom::Affine const &transform) {
Geom::OptRect bbox;
- for (auto& i: _children) {
+ for (auto& i: children) {
if (SP_IS_ITEM(&i)) {
Geom::OptRect tmp = SP_ITEM(&i)->geometricBounds(Geom::Affine(SP_ITEM(&i)->transform) * transform);
bbox.unionWith(tmp);