summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/extension/output.cpp7
-rw-r--r--src/extension/system.cpp2
2 files changed, 2 insertions, 7 deletions
diff --git a/src/extension/output.cpp b/src/extension/output.cpp
index 83f0fed2f..ccfee2c14 100644
--- a/src/extension/output.cpp
+++ b/src/extension/output.cpp
@@ -213,12 +213,7 @@ Output::prefs (void)
void
Output::save(SPDocument *doc, gchar const *filename)
{
- try {
- imp->save(this, doc, filename);
- }
- catch (...) {
- throw Inkscape::Extension::Output::save_failed();
- }
+ imp->save(this, doc, filename);
return;
}
diff --git a/src/extension/system.cpp b/src/extension/system.cpp
index e5b83cd20..888a1076a 100644
--- a/src/extension/system.cpp
+++ b/src/extension/system.cpp
@@ -330,7 +330,7 @@ save(Extension *key, SPDocument *doc, gchar const *filename, bool setextension,
g_free(fileName);
- throw Inkscape::Extension::Output::save_failed();
+ throw;
}
// If it is an unofficial save, set the modified attributes back to what they were.