summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJohan B. C. Engelen <jbc.engelen@swissonline.ch>2013-08-03 21:39:35 +0000
committerJohan B. C. Engelen <j.b.c.engelen@alumnus.utwente.nl>2013-08-03 21:39:35 +0000
commitbd17bfe0fa865957751d954a91125ce40f8add03 (patch)
treed05a59a3c8f97e7df41c8e8536b7540b36f42009 /src
parentreduce variable scope (diff)
downloadinkscape-bd17bfe0fa865957751d954a91125ce40f8add03.tar.gz
inkscape-bd17bfe0fa865957751d954a91125ce40f8add03.zip
catch exception by reference
(bzr r12465)
Diffstat (limited to 'src')
-rw-r--r--src/sp-lpe-item.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sp-lpe-item.cpp b/src/sp-lpe-item.cpp
index e8629ff70..d4619e794 100644
--- a/src/sp-lpe-item.cpp
+++ b/src/sp-lpe-item.cpp
@@ -185,7 +185,7 @@ static void sp_lpe_item_set(SPObject *object, unsigned int key, gchar const *val
Inkscape::LivePathEffect::LPEObjectReference *path_effect_ref = new Inkscape::LivePathEffect::LPEObjectReference(object);
try {
path_effect_ref->link(href.c_str());
- } catch (Inkscape::BadURIException e) {
+ } catch (Inkscape::BadURIException &e) {
g_warning("BadURIException when trying to find LPE: %s", e.what());
path_effect_ref->unlink();
delete path_effect_ref;