diff options
Diffstat (limited to 'src/sp-object.cpp')
| -rw-r--r-- | src/sp-object.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sp-object.cpp b/src/sp-object.cpp index 892f24c95..826c271cf 100644 --- a/src/sp-object.cpp +++ b/src/sp-object.cpp @@ -156,8 +156,8 @@ void SPObject::sp_object_init(SPObject *object) object->parent = object->next = NULL; //used XML Tree here. - Inkscape::XML::Node *repr = object->getRepr(); - repr = NULL; + object->getRepr(); // TODO check why this call is made + SPObjectImpl::setIdNull(object); object->_collection_policy = SPObject::COLLECT_WITH_PARENT; |
