summaryrefslogtreecommitdiffstats
path: root/src/extension/system.cpp
diff options
context:
space:
mode:
authortheAdib <theAdib@users.sourceforge.net>2009-05-10 12:54:49 +0000
committertheAdib <theAdib@users.sourceforge.net>2009-05-10 12:54:49 +0000
commit58602a1742c3f7d493371204bc2c4b4818670fc9 (patch)
tree1c838d20237ce392ffe7d9c609b72cc255d95421 /src/extension/system.cpp
parentRemove test-stubs.cpp: no longer needed. (diff)
downloadinkscape-58602a1742c3f7d493371204bc2c4b4818670fc9.tar.gz
inkscape-58602a1742c3f7d493371204bc2c4b4818670fc9.zip
BUG 218090 opening of bitmap fails, now error message
(bzr r7844)
Diffstat (limited to 'src/extension/system.cpp')
-rw-r--r--src/extension/system.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/extension/system.cpp b/src/extension/system.cpp
index fdebd7b22..a7828d3fc 100644
--- a/src/extension/system.cpp
+++ b/src/extension/system.cpp
@@ -93,7 +93,7 @@ open(Extension *key, gchar const *filename)
SPDocument *doc = imod->open(filename);
if (!doc) {
- return NULL;
+ throw Input::open_failed();
}
if (last_chance_svg) {