diff options
Diffstat (limited to 'desktop/source/app/opencl.cxx')
-rw-r--r-- | desktop/source/app/opencl.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/desktop/source/app/opencl.cxx b/desktop/source/app/opencl.cxx index 92d720eeae9f..16da10e50206 100644 --- a/desktop/source/app/opencl.cxx +++ b/desktop/source/app/opencl.cxx @@ -25,6 +25,7 @@ #include <officecfg/Office/Common.hxx> #include <svl/documentlockfile.hxx> +#include <tools/diagnose_ex.h> #include <com/sun/star/table/XCell2.hpp> #include <com/sun/star/sheet/XCalculatable.hpp> @@ -162,9 +163,9 @@ static bool testOpenCLCompute(const Reference< XDesktop2 > &xDesktop, const OUSt bSuccess = true; } } - catch (const css::uno::Exception &e) + catch (const css::uno::Exception &) { - SAL_WARN("opencl", "OpenCL testing failed - disabling: " << e); + TOOLS_WARN_EXCEPTION("opencl", "OpenCL testing failed - disabling"); } if (nKernelFailures != openclwrapper::kernelFailures) |