diff options
author | Gábor Stefanik <netrolller.3d@gmail.com> | 2012-04-25 23:49:06 +0200 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-04-27 14:20:52 +0100 |
commit | eb1a4bb908534b68527a9746aca4b6d5dd6a538d (patch) | |
tree | b7ac9b160519b964b75043592ebd115cb00df45d | |
parent | d4e9eb3db2c9abcfdfbb0dc3889873db2f788e58 (diff) |
Fix debug message and remove useless try...catch from ImplImageTree::loadImage
-rw-r--r-- | vcl/source/gdi/impimagetree.cxx | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/vcl/source/gdi/impimagetree.cxx b/vcl/source/gdi/impimagetree.cxx index 31f507c2f91b..14dfcd13ae4d 100644 --- a/vcl/source/gdi/impimagetree.cxx +++ b/vcl/source/gdi/impimagetree.cxx @@ -170,15 +170,10 @@ bool ImplImageTree::loadImage( if (found || !loadMissing) return found; - try { - OSL_TRACE( - "ImplImageTree::loadImage exception couldn't load \"%s\", fetching missing_icon.png", - rtl::OUStringToOString(name, RTL_TEXTENCODING_UTF8).getStr()); - found = loadDefaultImage(style, bitmap); - } catch (css::uno::RuntimeException &) { - throw; - } - return found; + OSL_TRACE( + "ImplImageTree::loadImage exception couldn't load \"%s\", fetching default image", + rtl::OUStringToOString(name, RTL_TEXTENCODING_UTF8).getStr()); + return loadDefaultImage(style, bitmap); } bool ImplImageTree::loadDefaultImage( |