summaryrefslogtreecommitdiffstats
path: root/src/extension/system.cpp
diff options
context:
space:
mode:
authorJohn Smith <john.smith7545@yahoo.com>2012-10-11 03:34:08 +0000
committerJohn Smith <john.smith7545@yahoo.com>2012-10-11 03:34:08 +0000
commit05c9f6824d14012a71528bd204bcdd4e6624db29 (patch)
tree3df43f36edb9c89ba3ffce431c81b0e16e322b4e /src/extension/system.cpp
parentFix for 246153 : Broken style indicator (diff)
downloadinkscape-05c9f6824d14012a71528bd204bcdd4e6624db29.tar.gz
inkscape-05c9f6824d14012a71528bd204bcdd4e6624db29.zip
Fix for 426763 : Cancelling import leads to error message
(bzr r11777)
Diffstat (limited to 'src/extension/system.cpp')
-rw-r--r--src/extension/system.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/extension/system.cpp b/src/extension/system.cpp
index fc20095c5..7fb6e1591 100644
--- a/src/extension/system.cpp
+++ b/src/extension/system.cpp
@@ -144,6 +144,7 @@ SPDocument *open(Extension *key, gchar const *filename)
}
SPDocument *doc = imod->open(filename);
+
if (!doc) {
throw Input::open_failed();
}