summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosh Andler <scislac@gmail.com>2009-09-15 00:38:40 +0000
committerscislac <scislac@users.sourceforge.net>2009-09-15 00:38:40 +0000
commitc19a7bb5f35e9a722e1cdc4672145464287d96ad (patch)
treef3bd4f58885397804faa157f8597de2af64a3258
parentupdate (diff)
downloadinkscape-c19a7bb5f35e9a722e1cdc4672145464287d96ad.tar.gz
inkscape-c19a7bb5f35e9a722e1cdc4672145464287d96ad.zip
Patch by theAdib which fixes 397075
(bzr r8596)
-rw-r--r--src/filters/image.cpp5
1 files changed, 3 insertions, 2 deletions
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;