Code

SPDocument->Document
[inkscape.git] / src / ui / dialog / filedialogimpl-win32.cpp
index 0d8f0de5f7c3a1674af6eea74b648ec03b5d829f..4a2cc879d4d1c1f7312225a9a2a6ccb2c240d570 100644 (file)
@@ -887,7 +887,7 @@ bool FileOpenDialogImplWin32::set_svg_preview()
 
     gchar *utf8string = g_utf16_to_utf8((const gunichar2*)_path_string,
         _MAX_PATH, NULL, NULL, NULL);
-    SPDocument *svgDoc = sp_document_new (utf8string, true);
+    Document *svgDoc = sp_document_new (utf8string, true);
     g_free(utf8string);
 
     // Check the document loaded properly