Code

sodipodi:docname is obsolete
authormental <mental@users.sourceforge.net>
Fri, 27 Jun 2008 12:59:03 +0000 (12:59 +0000)
committermental <mental@users.sourceforge.net>
Fri, 27 Jun 2008 12:59:03 +0000 (12:59 +0000)
src/inkscape.cpp

index c978fc3c7375496b118b104c234f69d5b3cc3623..16813e46b28b19a674060b0157bec7ccd32959d5 100644 (file)
@@ -653,8 +653,7 @@ inkscape_crash_handler (int /*signum*/)
                 savednames = g_slist_prepend (savednames, g_strdup (c));
                 fclose (file);
             } else {
-                docname = repr->attribute("sodipodi:docname");
-                failednames = g_slist_prepend (failednames, (docname) ? g_strdup (docname) : g_strdup (_("Untitled document")));
+                failednames = g_slist_prepend (failednames, (doc->name) ? g_strdup (doc->name) : g_strdup (_("Untitled document")));
             }
             count++;
         }