summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-12-20 09:02:52 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-12-21 08:56:17 +0100
commit817b6e6f97ed50d999928b1ff37db8357d37b505 (patch)
tree30f0f95b3ee31a5f8d34a894800c4b4d7a420365 /vcl
parentccdcc25a085299bda45bc5ea4b3594e856f2d315 (diff)
improve warning message
Change-Id: Ib85b7f32fdb0179ed36ce55daeabfa14224dd790 Reviewed-on: https://gerrit.libreoffice.org/85645 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/gdi/bitmap3.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/gdi/bitmap3.cxx b/vcl/source/gdi/bitmap3.cxx
index 87f858de7732..68d590bc6eeb 100644
--- a/vcl/source/gdi/bitmap3.cxx
+++ b/vcl/source/gdi/bitmap3.cxx
@@ -886,7 +886,7 @@ void Bitmap::AdaptBitCount(Bitmap& rNew) const
}
default:
{
- OSL_ENSURE(false, "BitDepth adaptation failed (!)");
+ SAL_WARN("vcl", "BitDepth adaptation failed, from " << rNew.GetBitCount() << " to " << GetBitCount());
break;
}
}