diff options
Diffstat (limited to 'vcl/unx/gtk3/a11y/gtk3atkwrapper.cxx')
-rw-r--r-- | vcl/unx/gtk3/a11y/gtk3atkwrapper.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/vcl/unx/gtk3/a11y/gtk3atkwrapper.cxx b/vcl/unx/gtk3/a11y/gtk3atkwrapper.cxx index 2442e6ab665d..cbce84b09fd1 100644 --- a/vcl/unx/gtk3/a11y/gtk3atkwrapper.cxx +++ b/vcl/unx/gtk3/a11y/gtk3atkwrapper.cxx @@ -43,6 +43,7 @@ #include <rtl/strbuf.hxx> #include <osl/diagnose.h> +#include <tools/diagnose_ex.h> #include "atkwrapper.hxx" #include "atkregistry.hxx" @@ -414,7 +415,7 @@ wrapper_get_n_children( AtkObject *atk_obj ) n = obj->mpContext->getAccessibleChildCount(); } catch(const uno::Exception&) { - OSL_FAIL("Exception in getAccessibleChildCount()" ); + TOOLS_WARN_EXCEPTION( "vcl", "Exception" ); } } @@ -446,7 +447,7 @@ wrapper_ref_child( AtkObject *atk_obj, child = atk_object_wrapper_ref( xAccessible ); } catch(const uno::Exception&) { - OSL_FAIL("Exception in getAccessibleChild"); + TOOLS_WARN_EXCEPTION( "vcl", "getAccessibleChild"); } } |