summaryrefslogtreecommitdiffstats
path: root/src/text-editing.cpp
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2017-05-05 16:52:19 +0000
committerjabiertxof <info@marker.es>2017-05-05 16:52:19 +0000
commitbec0359a0d5b3f7db96417f003927c282c18a9f4 (patch)
treee45fa17927826da138e233499060e3142de86899 /src/text-editing.cpp
parentUpdate to trunk (diff)
parentmerge lpeUpdDefaultParams (diff)
downloadinkscape-bec0359a0d5b3f7db96417f003927c282c18a9f4.tar.gz
inkscape-bec0359a0d5b3f7db96417f003927c282c18a9f4.zip
Update to trunk
(bzr r13645.1.174)
Diffstat (limited to 'src/text-editing.cpp')
-rw-r--r--src/text-editing.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/text-editing.cpp b/src/text-editing.cpp
index 6809a4bc5..193f4b15a 100644
--- a/src/text-editing.cpp
+++ b/src/text-editing.cpp
@@ -942,9 +942,9 @@ sp_te_set_repr_text_multiline(SPItem *text, gchar const *str)
gchar *content = g_strdup (str);
repr->setContent("");
- for (auto& child: object->children) {
- if (!SP_IS_FLOWREGION(&child) && !SP_IS_FLOWREGIONEXCLUDE(&child)) {
- repr->removeChild(child.getRepr());
+ for (auto& child: object->childList(false)) {
+ if (!SP_IS_FLOWREGION(child) && !SP_IS_FLOWREGIONEXCLUDE(child)) {
+ repr->removeChild(child->getRepr());
}
}