summaryrefslogtreecommitdiffstats
path: root/reportdesign/source/ui/misc/FunctionHelper.cxx
diff options
context:
space:
mode:
authorNoel <noelgrandin@gmail.com>2020-11-30 14:19:29 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-12-01 09:28:52 +0100
commitd6d80c4e1783b4459bd4a8fbcbdfeebe416c1cb5 (patch)
tree995c41a30f4224233267a8cfb05da41ae8c10275 /reportdesign/source/ui/misc/FunctionHelper.cxx
parentfastparser in XMLIndexTemplateContext (diff)
downloadcore-d6d80c4e1783b4459bd4a8fbcbdfeebe416c1cb5.tar.gz
core-d6d80c4e1783b4459bd4a8fbcbdfeebe416c1cb5.zip
OSL_FAIL.*exception -> TOOLS_WARN_EXCEPTION
Change-Id: I6800e23ead2767d245d5da71d2d40e0f8a6d7e1f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/106859 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'reportdesign/source/ui/misc/FunctionHelper.cxx')
-rw-r--r--reportdesign/source/ui/misc/FunctionHelper.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/reportdesign/source/ui/misc/FunctionHelper.cxx b/reportdesign/source/ui/misc/FunctionHelper.cxx
index c9cfbbd4ba72..d5265a514bfb 100644
--- a/reportdesign/source/ui/misc/FunctionHelper.cxx
+++ b/reportdesign/source/ui/misc/FunctionHelper.cxx
@@ -21,6 +21,7 @@
#include <o3tl/safeint.hxx>
#include <osl/diagnose.h>
+#include <tools/diagnose_ex.h>
#include <formula/funcvarargs.h>
@@ -167,7 +168,7 @@ OUString FunctionDescription::getFormula(const ::std::vector< OUString >& _aArgu
}
catch(const uno::Exception&)
{
- OSL_FAIL("Exception caught!");
+ TOOLS_WARN_EXCEPTION( "reportdesign", "");
}
return sFormula;
}