summaryrefslogtreecommitdiffstats
path: root/src/object/sp-conn-end.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/object/sp-conn-end.cpp')
-rw-r--r--src/object/sp-conn-end.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/object/sp-conn-end.cpp b/src/object/sp-conn-end.cpp
index dab25bfc0..d121be025 100644
--- a/src/object/sp-conn-end.cpp
+++ b/src/object/sp-conn-end.cpp
@@ -229,7 +229,7 @@ static void sp_conn_end_deleted(SPObject *, SPObject *const owner, unsigned cons
{
char const * const attrs[] = {
"inkscape:connection-start", "inkscape:connection-end"};
- owner->getRepr()->setAttribute(attrs[handle_ix], nullptr);
+ owner->setAttribute(attrs[handle_ix], nullptr);
/* I believe this will trigger sp_conn_end_href_changed. */
}