summaryrefslogtreecommitdiff
path: root/cui/source/options/sdbcdriverenum.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'cui/source/options/sdbcdriverenum.cxx')
-rw-r--r--cui/source/options/sdbcdriverenum.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/cui/source/options/sdbcdriverenum.cxx b/cui/source/options/sdbcdriverenum.cxx
index 1370c93c254f..f6a0cf3ad1ee 100644
--- a/cui/source/options/sdbcdriverenum.cxx
+++ b/cui/source/options/sdbcdriverenum.cxx
@@ -20,6 +20,7 @@
#include "sdbcdriverenum.hxx"
#include <comphelper/processfactory.hxx>
#include <osl/diagnose.h>
+#include <tools/diagnose_ex.h>
#include <com/sun/star/lang/XServiceInfo.hpp>
#include <com/sun/star/sdbc/DriverManager.hpp>
@@ -66,7 +67,7 @@ namespace offapp
}
catch(const Exception&)
{
- OSL_FAIL("ODriverEnumerationImpl::ODriverEnumerationImpl: caught an exception while enumerating the drivers!");
+ TOOLS_WARN_EXCEPTION( "cui.options", "ODriverEnumerationImpl::ODriverEnumerationImpl: caught an exception while enumerating the drivers!");
}
}