summaryrefslogtreecommitdiff
path: root/sc/source/ui/dataprovider/sqldataprovider.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/dataprovider/sqldataprovider.cxx')
-rw-r--r--sc/source/ui/dataprovider/sqldataprovider.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sc/source/ui/dataprovider/sqldataprovider.cxx b/sc/source/ui/dataprovider/sqldataprovider.cxx
index 05472865fbb7..313f64a76c5d 100644
--- a/sc/source/ui/dataprovider/sqldataprovider.cxx
+++ b/sc/source/ui/dataprovider/sqldataprovider.cxx
@@ -21,6 +21,7 @@
#include <vcl/svapp.hxx>
#include <comphelper/processfactory.hxx>
#include <osl/diagnose.h>
+#include <tools/diagnose_ex.h>
using namespace css;
using namespace ::com::sun::star::beans;
@@ -109,7 +110,7 @@ void SQLFetchThread::execute()
}
catch (uno::Exception&)
{
- OSL_FAIL("exception in database");
+ TOOLS_WARN_EXCEPTION("sc", "exception in database");
}
for (auto& itr : maDataTransformations)