From: mental Date: Mon, 26 Feb 2007 04:58:41 +0000 (+0000) Subject: dead code removal X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=54ed8cbdeedfb8efafcbece9accf5cbf2e04cdf0;p=inkscape.git dead code removal --- diff --git a/src/file.cpp b/src/file.cpp index 521579d69..8f4b2a9c1 100644 --- a/src/file.cpp +++ b/src/file.cpp @@ -753,17 +753,6 @@ file_import(SPDocument *in_doc, const Glib::ustring &uri, } if (doc != NULL) { - // the import extension has passed us a document, now we need to embed it into our document - if ( 0 ) { -// const gchar *docbase = (sp_repr_document_root( sp_repr_document( repr ))->attribute("sodipodi:docbase" ); - g_message(" settings uri [%s]", doc->uri ); - g_message(" base [%s]", doc->base ); - g_message(" name [%s]", doc->name ); - Inkscape::IO::fixupHrefs( doc, doc->base, TRUE ); - g_message(" mid-fixup"); - Inkscape::IO::fixupHrefs( doc, in_doc->base, TRUE ); - } - // move imported defs to our document's defs SPObject *in_defs = SP_DOCUMENT_DEFS(in_doc); SPObject *defs = SP_DOCUMENT_DEFS(doc);