diff options
Diffstat (limited to 'svtools/source')
-rw-r--r-- | svtools/source/brwbox/editbrowsebox2.cxx | 3 | ||||
-rw-r--r-- | svtools/source/dialogs/addresstemplate.cxx | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/svtools/source/brwbox/editbrowsebox2.cxx b/svtools/source/brwbox/editbrowsebox2.cxx index 3bc8dc8f5b4c..8e6336a819ae 100644 --- a/svtools/source/brwbox/editbrowsebox2.cxx +++ b/svtools/source/brwbox/editbrowsebox2.cxx @@ -27,6 +27,7 @@ #include <vcl/svapp.hxx> #include <osl/diagnose.h> #include <tools/debug.hxx> +#include <tools/diagnose_ex.h> namespace svt { @@ -110,7 +111,7 @@ void EditBrowseBoxImpl::clearActiveCell() } catch(const Exception&) { - OSL_FAIL( "EditBrowseBoxImpl::clearActiveCell: caught an exception while disposing the AccessibleCell!" ); + TOOLS_WARN_EXCEPTION( "svtools", "EditBrowseBoxImpl::clearActiveCell: caught an exception while disposing the AccessibleCell!" ); } m_xActiveCell = nullptr; diff --git a/svtools/source/dialogs/addresstemplate.cxx b/svtools/source/dialogs/addresstemplate.cxx index f3a3bbd03fd3..e95d127f2147 100644 --- a/svtools/source/dialogs/addresstemplate.cxx +++ b/svtools/source/dialogs/addresstemplate.cxx @@ -30,6 +30,7 @@ #include <vcl/svapp.hxx> #include <vcl/weld.hxx> #include <sal/log.hxx> +#include <tools/diagnose_ex.h> #include <osl/diagnose.h> #include <com/sun/star/util/AliasProgrammaticPair.hpp> #include <com/sun/star/ui/dialogs/AddressBookSourcePilot.hpp> @@ -701,7 +702,7 @@ void AssignmentPersistentData::ImplCommit() } catch(Exception&) { - OSL_FAIL("AddressBookSourceDialog::initializeDatasources: caught an exception while asking for the data source names!"); + TOOLS_WARN_EXCEPTION( "svtools", "AddressBookSourceDialog::initializeDatasources: caught an exception while asking for the data source names!"); } } |