diff options
author | Noel <noelgrandin@gmail.com> | 2020-11-30 14:19:29 +0200 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2021-03-31 10:28:06 +0200 |
commit | 54bfbdc2ffb8938dbef5febe50c22e4eaf4b3c03 (patch) | |
tree | 11c99039401b885c8809b7ffff8ffeebf9781cb9 /toolkit | |
parent | 09deac70e486ca609a25a817cdbea754eb7c5649 (diff) |
OSL_FAIL.*exception -> TOOLS_WARN_EXCEPTION
Change-Id: I6800e23ead2767d245d5da71d2d40e0f8a6d7e1f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/106859
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'toolkit')
-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!" ); } } |