From: scislac Date: Tue, 15 Sep 2009 00:38:40 +0000 (+0000) Subject: Patch by theAdib which fixes 397075 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=ad8119bb4e00ee6c2888a9d25738e225eab7ba05;p=inkscape.git Patch by theAdib which fixes 397075 --- diff --git a/src/filters/image.cpp b/src/filters/image.cpp index 0002ef94c..d8e5a417f 100644 --- a/src/filters/image.cpp +++ b/src/filters/image.cpp @@ -184,11 +184,12 @@ sp_feImage_set(SPObject *object, unsigned int key, gchar const *value) g_warning("SVG element URI was not found in the document while loading feImage"); } } - catch(const Inkscape::UnsupportedURIException & e) + // catches either MalformedURIException or UnsupportedURIException + catch(const Inkscape::BadURIException & e) { feImage->from_element = false; /* This occurs when using external image as the source */ - //g_warning("caught Inkscape::UnsupportedURIException in sp_feImage_set"); + //g_warning("caught Inkscape::BadURIException in sp_feImage_set"); break; } break;