summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2021-09-15 16:01:13 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-09-15 20:24:03 +0200
commit3372f93173b900c087073078a01d31916bf47783 (patch)
treeba25447500ac2920075108b8f59ea98b07d17666 /vcl
parentafea504ad44f017f7020ed6dcc0191f7756acc93 (diff)
add some logging for intermittent windows jenkins crash
Change-Id: I8ad589dd8d0a64f75179d3330c80c9c43a21ff32 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122155 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/win/gdi/salprn.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/vcl/win/gdi/salprn.cxx b/vcl/win/gdi/salprn.cxx
index e7a6936364f5..0c5057797682 100644
--- a/vcl/win/gdi/salprn.cxx
+++ b/vcl/win/gdi/salprn.cxx
@@ -1105,6 +1105,8 @@ WinSalInfoPrinter::~WinSalInfoPrinter()
if ( mpGraphics )
{
mpGraphics->DeInitGraphics();
+ // we get intermittent crashes on the Windows jenkins box around here, let us see if there is something weird about the DC
+ SAL_WARN("vcl", "Graphics DC " << mpGraphics->getHDC());
DeleteDC( mpGraphics->getHDC() );
delete mpGraphics;
}