diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2020-08-31 17:43:35 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2020-08-31 23:07:31 +0200 |
commit | 9f60ee1b57ada579d1afe2fe322af53f211c4549 (patch) | |
tree | 0b6ffdad65f7f092cc0390ffc1751099e44277f9 /vcl | |
parent | d6ffa7670fcd88befb16de387a6a0edc896c18aa (diff) |
Clean up some SAL_WARN argument streaming
Change-Id: I78841ff2d6356d4789664029a3fa82771178e941
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101754
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/app/watchdog.cxx | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/vcl/source/app/watchdog.cxx b/vcl/source/app/watchdog.cxx index 588cf6d579be..f43f708b1eb4 100644 --- a/vcl/source/app/watchdog.cxx +++ b/vcl/source/app/watchdog.cxx @@ -56,8 +56,7 @@ template <typename Zone> struct WatchdogHelper if (!bFired) { gbWatchdogFiring = true; - SAL_WARN("vcl.watchdog", - OStringLiteral("Watchdog triggered: hard disable ") + Zone::name()); + SAL_WARN("vcl.watchdog", "Watchdog triggered: hard disable " << Zone::name()); Zone::hardDisable(); gbWatchdogFiring = false; } @@ -66,8 +65,7 @@ template <typename Zone> struct WatchdogHelper // we can hang using VCL in the abort handling -> be impatient if (bAbortFired) { - SAL_WARN("vcl.watchdog", - OStringLiteral("Watchdog gave up: hard exiting ") + Zone::name()); + SAL_WARN("vcl.watchdog", "Watchdog gave up: hard exiting " << Zone::name()); _Exit(1); } } @@ -77,8 +75,7 @@ template <typename Zone> struct WatchdogHelper { if (!bAbortFired) { - SAL_WARN("vcl.watchdog", - OStringLiteral("Watchdog gave up: aborting ") + Zone::name()); + SAL_WARN("vcl.watchdog", "Watchdog gave up: aborting " << Zone::name()); gbWatchdogFiring = true; std::abort(); } |