summaryrefslogtreecommitdiffstats
path: root/src/document.cpp
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2015-02-27 21:53:40 +0000
committerJabiertxof <jtx@jtx.marker.es>2015-02-27 21:53:40 +0000
commit431e7fb1b5f3ad3b7b25672c7992317907913e43 (patch)
treeb222e96bcba9e4863322f38b39f8926670c0949d /src/document.cpp
parentfixing write knot (diff)
parenti18n (diff)
downloadinkscape-431e7fb1b5f3ad3b7b25672c7992317907913e43.tar.gz
inkscape-431e7fb1b5f3ad3b7b25672c7992317907913e43.zip
update to trunk
(bzr r13645.1.23)
Diffstat (limited to 'src/document.cpp')
-rw-r--r--src/document.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/document.cpp b/src/document.cpp
index 11971e63d..2a50d00bd 100644
--- a/src/document.cpp
+++ b/src/document.cpp
@@ -368,7 +368,7 @@ SPDocument *SPDocument::createDoc(Inkscape::XML::Document *rdoc,
// Create SPRoot element
const std::string typeString = NodeTraits::get_type_string(*rroot);
- SPObject* rootObj = SPFactory::instance().createObject(typeString);
+ SPObject* rootObj = SPFactory::createObject(typeString);
document->root = dynamic_cast<SPRoot*>(rootObj);
if (document->root == 0) {