diff options
author | Tor Lillqvist <tml@collabora.com> | 2018-12-20 19:42:06 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2018-12-21 00:08:13 +0200 |
commit | 2e263affe54f8c3cdcbcea5fc4f0fb0b5b958b00 (patch) | |
tree | 9d024d2284d50f37185ebce705b6c29088ce773b | |
parent | ebcb1fa80654849792bc3c296f61090138f99e20 (diff) |
Add a bit more information to a SAL_WARN
Change-Id: Iea825271825119bddfdaa79af3b111659f084d0b
-rw-r--r-- | vcl/quartz/salbmp.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/quartz/salbmp.cxx b/vcl/quartz/salbmp.cxx index cc3c06f95619..34fd42caf2ad 100644 --- a/vcl/quartz/salbmp.cxx +++ b/vcl/quartz/salbmp.cxx @@ -298,7 +298,7 @@ bool QuartzSalBitmap::AllocateUserData() } if (!alloc) { - SAL_WARN( "vcl.quartz", "bad alloc " << mnBytesPerRow << "x" << mnHeight); + SAL_WARN( "vcl.quartz", "bad_alloc: " << mnWidth << "x" << mnHeight << " (" << mnBytesPerRow * mnHeight << " bytes)"); m_pUserBuffer.reset( static_cast<sal_uInt8*>(nullptr) ); mnBytesPerRow = 0; } |