summaryrefslogtreecommitdiffstats
path: root/src/file.cpp
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2013-03-17 12:29:02 +0000
committerJabiertxo Arraiza Zenotz <jtx@jtx.marker.es>2013-03-17 12:29:02 +0000
commit732618cd7d6159ee47cc0dd8b86cf07790e3e724 (patch)
tree5e7ce92337d91b24e07f9c5f8992f1bc6478c692 /src/file.cpp
parentWorking in widgets (diff)
downloadinkscape-732618cd7d6159ee47cc0dd8b86cf07790e3e724.tar.gz
inkscape-732618cd7d6159ee47cc0dd8b86cf07790e3e724.zip
Working with widjets
(bzr r11950.1.56)
Diffstat (limited to 'src/file.cpp')
-rw-r--r--src/file.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/file.cpp b/src/file.cpp
index 5737f0a8a..97087c1a1 100644
--- a/src/file.cpp
+++ b/src/file.cpp
@@ -1124,6 +1124,9 @@ file_import(SPDocument *in_doc, const Glib::ustring &uri,
prevent_id_clashes(doc, in_doc);
+ SPObject *in_defs = in_doc->getDefs();
+ Inkscape::XML::Node *last_def = in_defs->getRepr()->lastChild();
+
SPCSSAttr *style = sp_css_attr_from_object(doc->getRoot());
// Count the number of top-level items in the imported document.