diff options
Diffstat (limited to 'src/sp-use.cpp')
| -rw-r--r-- | src/sp-use.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sp-use.cpp b/src/sp-use.cpp index 7c490ce41..f565cba20 100644 --- a/src/sp-use.cpp +++ b/src/sp-use.cpp @@ -453,7 +453,7 @@ sp_use_href_changed(SPObject */*old_ref*/, SPObject */*ref*/, SPUse *use) // } // } - SPObject* obj = SPFactory::instance().createObject(*childrepr); + SPObject* obj = SPFactory::instance().createObject(NodeTraits::getTypeString(*childrepr)); if (SP_IS_ITEM(obj)) { use->child = obj; |
