vcl/source/gdi/bitmap3.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 817b6e6f97ed50d999928b1ff37db8357d37b505 Author: Noel Grandin <noel.gran...@collabora.co.uk> AuthorDate: Fri Dec 20 09:02:52 2019 +0200 Commit: Noel Grandin <noel.gran...@collabora.co.uk> CommitDate: Sat Dec 21 08:56:17 2019 +0100 improve warning message Change-Id: Ib85b7f32fdb0179ed36ce55daeabfa14224dd790 Reviewed-on: https://gerrit.libreoffice.org/85645 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk> 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; } } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits