summaryrefslogtreecommitdiffstats
path: root/src/extension/input.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/extension/input.cpp11
1 files changed, 1 insertions, 10 deletions
diff --git a/src/extension/input.cpp b/src/extension/input.cpp
index 94b0f6ab4..e17c690aa 100644
--- a/src/extension/input.cpp
+++ b/src/extension/input.cpp
@@ -153,16 +153,7 @@ Input::open (const gchar *uri)
}
timer->touch();
- SPDocument * doc = NULL;
-
-#ifdef WITH_GNOME_VFS
- doc = imp->open(this, uri);
-#else
- if (Inkscape::IO::file_test(uri, G_FILE_TEST_EXISTS)) {
- doc = imp->open(this, uri);
- }
-#endif
-
+ SPDocument *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);