diff options
| author | Markus Engel <markus.engel@tum.de> | 2013-04-12 22:37:18 +0000 |
|---|---|---|
| committer | Markus Engel <markus.engel@tum.de> | 2013-04-12 22:37:18 +0000 |
| commit | fbb85064cfaaf03cc09bacedb16a8561f61f2b3d (patch) | |
| tree | e2a26a8e4fbbcfd1180522452d7b4db23408d39d /src/sp-tref.cpp | |
| parent | various little changes (diff) | |
| download | inkscape-fbb85064cfaaf03cc09bacedb16a8561f61f2b3d.tar.gz inkscape-fbb85064cfaaf03cc09bacedb16a8561f61f2b3d.zip | |
Added prefPaths to contexts; modified SPFactory
(bzr r11608.1.94)
Diffstat (limited to 'src/sp-tref.cpp')
| -rw-r--r-- | src/sp-tref.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sp-tref.cpp b/src/sp-tref.cpp index 223cf3cec..87e8498f3 100644 --- a/src/sp-tref.cpp +++ b/src/sp-tref.cpp @@ -405,7 +405,7 @@ void sp_tref_update_text(SPTRef *tref) Inkscape::XML::Document *xml_doc = tref->document->getReprDoc(); Inkscape::XML::Node *newStringRepr = xml_doc->createTextNode(charData.c_str()); - tref->stringChild = SPFactory::instance().createObject(*newStringRepr); //SP_OBJECT(g_object_new(sp_repr_type_lookup(newStringRepr), NULL)); + tref->stringChild = SPFactory::instance().createObject(NodeTraits::getTypeString(*newStringRepr)); // Add this SPString as a child of the tref tref->attach(tref->stringChild, tref->lastChild()); |
