diff options
| author | Markus Engel <markus.engel@tum.de> | 2013-09-16 17:32:58 +0000 |
|---|---|---|
| committer | Markus Engel <markus.engel@tum.de> | 2013-09-16 17:32:58 +0000 |
| commit | abde5067bcfbb4c0e3ba61c6f69db7925f80600a (patch) | |
| tree | 16e2b6879acc79107afe7d314a2400d42fa7ed46 /src/sp-tref.cpp | |
| parent | Added runtime check in SP_-cast macros. (diff) | |
| download | inkscape-abde5067bcfbb4c0e3ba61c6f69db7925f80600a.tar.gz inkscape-abde5067bcfbb4c0e3ba61c6f69db7925f80600a.zip | |
Removed TypeInfo; adjusted Factory to meet code style conventions.
(bzr r11608.1.124)
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 97c446c33..1872cdf7c 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(NodeTraits::getTypeString(*newStringRepr)); + tref->stringChild = SPFactory::instance().createObject(NodeTraits::get_type_string(*newStringRepr)); // Add this SPString as a child of the tref tref->attach(tref->stringChild, tref->lastChild()); |
