summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbulia byak <buliabyak@gmail.com>2008-09-21 00:06:01 +0000
committerbuliabyak <buliabyak@users.sourceforge.net>2008-09-21 00:06:01 +0000
commite5cf94b94adac84572fd4356c6023de54f7b1632 (patch)
tree338854b2fe11ff183faecfa602b3a5a482a56410
parentproperly detach SPObject from repr when deleting clone (diff)
downloadinkscape-e5cf94b94adac84572fd4356c6023de54f7b1632.tar.gz
inkscape-e5cf94b94adac84572fd4356c6023de54f7b1632.zip
if export (most likely cairo) fails, issue a warning instead of crashing
(bzr r6858)
-rw-r--r--src/extension/output.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/extension/output.cpp b/src/extension/output.cpp
index 3220e574a..e0070339d 100644
--- a/src/extension/output.cpp
+++ b/src/extension/output.cpp
@@ -206,7 +206,7 @@ Output::prefs (void)
a document so that the implementation only has to worry about geting
bits on the disk.
- The big thing that it does is remove and readd the fields that are
+ The big thing that it does is remove and read the fields that are
only used at runtime and shouldn't be saved. One that may surprise
people is the output extension. This is not saved so that the IDs
could be changed, and old files will still work properly.
@@ -218,7 +218,7 @@ Output::save (SPDocument * doc, const gchar * uri)
imp->save(this, doc, uri);
}
catch (...) {
- throw;
+ g_warning("There was an error saving the file.");
}
return;