summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-08-15 15:56:55 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-08-16 13:31:26 +0200
commit889dc7bffa02236bf2ad56b382997771f0fcf3c6 (patch)
treee7fc2c8748972bb1ed4acb98fd92ff08a8670f7b /vcl
parent9a97a26511584f41c3753fa9536e1c4a8dce637a (diff)
use more TOOLS_WARN_EXCEPTION
Change-Id: Ic21ea11ff106e0732bb8fa600ef39a549d7bda86 Reviewed-on: https://gerrit.libreoffice.org/77569 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/app/salusereventlist.cxx3
-rw-r--r--vcl/source/app/scheduler.cxx3
2 files changed, 2 insertions, 4 deletions
diff --git a/vcl/source/app/salusereventlist.cxx b/vcl/source/app/salusereventlist.cxx
index b0741af8ec9e..ae0653c06ca2 100644
--- a/vcl/source/app/salusereventlist.cxx
+++ b/vcl/source/app/salusereventlist.cxx
@@ -110,8 +110,7 @@ bool SalUserEventList::DispatchUserEvents( bool bHandleAllCurrentEvents )
}
catch (css::uno::Exception&)
{
- auto const e2 = cppu::getCaughtException();
- SAL_WARN("vcl", "Uncaught " << exceptionToString(e2));
+ TOOLS_WARN_EXCEPTION("vcl", "Uncaught");
std::abort();
}
catch (std::exception& e)
diff --git a/vcl/source/app/scheduler.cxx b/vcl/source/app/scheduler.cxx
index 09480a6a05e3..2ae19e86fff9 100644
--- a/vcl/source/app/scheduler.cxx
+++ b/vcl/source/app/scheduler.cxx
@@ -481,8 +481,7 @@ bool Scheduler::ProcessTaskScheduling()
}
catch (css::uno::Exception&)
{
- auto const ex = cppu::getCaughtException();
- SAL_WARN("vcl.schedule", "Uncaught " << exceptionToString(ex));
+ TOOLS_WARN_EXCEPTION("vcl.schedule", "Uncaught");
std::abort();
}
catch (std::exception& e)