summaryrefslogtreecommitdiffstats
path: root/src/sp-flowdiv.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/sp-flowdiv.cpp')
-rw-r--r--src/sp-flowdiv.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sp-flowdiv.cpp b/src/sp-flowdiv.cpp
index 4d07cffd7..4dfdcbb9a 100644
--- a/src/sp-flowdiv.cpp
+++ b/src/sp-flowdiv.cpp
@@ -405,7 +405,7 @@ static Inkscape::XML::Node *sp_flowtspan_write(SPObject *object, Inkscape::XML::
} else if ( SP_IS_FLOWPARA(child) ) {
child->updateRepr(flags);
} else if ( SP_IS_STRING(child) ) {
- SP_OBJECT_REPR(child)->setContent(SP_STRING(child)->string.c_str());
+ child->getRepr()->setContent(SP_STRING(child)->string.c_str());
}
}
}