diff options
| author | Johan B. C. Engelen <jbc.engelen@swissonline.ch> | 2013-08-03 21:39:35 +0000 |
|---|---|---|
| committer | Johan B. C. Engelen <j.b.c.engelen@alumnus.utwente.nl> | 2013-08-03 21:39:35 +0000 |
| commit | bd17bfe0fa865957751d954a91125ce40f8add03 (patch) | |
| tree | d05a59a3c8f97e7df41c8e8536b7540b36f42009 /src | |
| parent | reduce variable scope (diff) | |
| download | inkscape-bd17bfe0fa865957751d954a91125ce40f8add03.tar.gz inkscape-bd17bfe0fa865957751d954a91125ce40f8add03.zip | |
catch exception by reference
(bzr r12465)
Diffstat (limited to 'src')
| -rw-r--r-- | src/sp-lpe-item.cpp | 2 |
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; |
