summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 237a809)
raw | patch | inline | side by side (parent: 237a809)
author | johanengelen <johanengelen@users.sourceforge.net> | |
Sun, 18 Nov 2007 13:09:10 +0000 (13:09 +0000) | ||
committer | johanengelen <johanengelen@users.sourceforge.net> | |
Sun, 18 Nov 2007 13:09:10 +0000 (13:09 +0000) |
src/ui/dialog/filedialogimpl-gtkmm.cpp | patch | blob | history |
index 5dd8e66f23164ab2f3fae3adcc5f81f0bea98fca..a1773d39a317c36775d91815e5fe0141a5e62cf5 100644 (file)
try {
img = Gdk::Pixbuf::create_from_file(fileName);
}
- catch (Glib::FileError & e)
+ catch (const Glib::FileError & e)
{
g_message("caught Glib::FileError in SVGPreview::showImage");
return;
}
- catch (Gdk::PixbufError & e)
+ catch (const Gdk::PixbufError & e)
{
g_message("Gdk::PixbufError in SVGPreview::showImage");
return;
}
+ catch (...)
+ {
+ g_message("Caught ... in SVGPreview::showImage");
+ return;
+ }
gint imgWidth = img->get_width();
gint imgHeight = img->get_height();