diff options
Diffstat (limited to 'sc/source/ui/dbgui/dapidata.cxx')
-rw-r--r-- | sc/source/ui/dbgui/dapidata.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sc/source/ui/dbgui/dapidata.cxx b/sc/source/ui/dbgui/dapidata.cxx index 8e97a1d93465..43b8f296e072 100644 --- a/sc/source/ui/dbgui/dapidata.cxx +++ b/sc/source/ui/dbgui/dapidata.cxx @@ -21,6 +21,7 @@ #include <comphelper/processfactory.hxx> #include <osl/diagnose.h> +#include <tools/diagnose_ex.h> #include <com/sun/star/sheet/DataImportMode.hpp> #include <com/sun/star/sdbcx/XTablesSupplier.hpp> @@ -61,7 +62,7 @@ ScDataPilotDatabaseDlg::ScDataPilotDatabaseDlg(weld::Window* pParent) } catch(uno::Exception&) { - OSL_FAIL("exception in database"); + TOOLS_WARN_EXCEPTION( "sc", "exception in database"); } m_xLbDatabase->set_active(0); @@ -162,7 +163,7 @@ void ScDataPilotDatabaseDlg::FillObjects() catch(uno::Exception&) { // this may happen if an invalid database is selected -> no DBG_ERROR - OSL_FAIL("exception in database"); + TOOLS_WARN_EXCEPTION( "sc", "exception in database"); } } |