diff options
Diffstat (limited to 'toolkit/source')
-rw-r--r-- | toolkit/source/controls/accessiblecontrolcontext.cxx | 2 | ||||
-rw-r--r-- | toolkit/source/controls/filectrl.cxx | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/toolkit/source/controls/accessiblecontrolcontext.cxx b/toolkit/source/controls/accessiblecontrolcontext.cxx index c2d0b46db6a6..36b6287d65ec 100644 --- a/toolkit/source/controls/accessiblecontrolcontext.cxx +++ b/toolkit/source/controls/accessiblecontrolcontext.cxx @@ -95,7 +95,7 @@ namespace toolkit } catch( const Exception& ) { - OSL_FAIL( "OAccessibleControlContext::create: caught an exception from the late ctor!" ); + TOOLS_WARN_EXCEPTION( "toolkit", "OAccessibleControlContext::create: caught an exception from the late ctor!" ); } return pNew; } diff --git a/toolkit/source/controls/filectrl.cxx b/toolkit/source/controls/filectrl.cxx index bea09aeb7e12..e3b2fd8abcb5 100644 --- a/toolkit/source/controls/filectrl.cxx +++ b/toolkit/source/controls/filectrl.cxx @@ -26,6 +26,7 @@ #include <osl/diagnose.h> #include <svl/svlresid.hxx> #include <svl/svl.hrc> +#include <tools/diagnose_ex.h> #include <tools/urlobj.hxx> #include <vcl/toolkit/edit.hxx> @@ -237,7 +238,7 @@ IMPL_LINK_NOARG(FileControl, ButtonHdl, Button*, void) } catch( const Exception& ) { - OSL_FAIL( "FileControl::ImplBrowseFile: caught an exception while executing the file picker!" ); + TOOLS_WARN_EXCEPTION( "toolkit", "FileControl::ImplBrowseFile: caught an exception while executing the file picker!" ); } } |