Code

SPDocument->Document
[inkscape.git] / src / extension / input.cpp
index 689c1286f6e96155694f7b13c3868f075e6c976b..ca5fdc29f326ac3f2270cc0d1ea18c646ff627c9 100644 (file)
@@ -145,7 +145,7 @@ Input::check (void)
     Adobe Illustrator file can be transparent (not recommended, but
     transparent).  This is all done with undo being turned off.
 */
-SPDocument *
+Document *
 Input::open (const gchar *uri)
 {
     if (!loaded()) {
@@ -156,7 +156,7 @@ Input::open (const gchar *uri)
     }
     timer->touch();
 
-    SPDocument *const doc = imp->open(this, uri);
+    Document *const doc = imp->open(this, uri);
     if (doc != NULL) {
         Inkscape::XML::Node * repr = sp_document_repr_root(doc);
         bool saved = sp_document_get_undo_sensitive(doc);