[Libreoffice-commits] core.git: vcl/source

Noel Grandin (via logerrit) logerrit at kemper.freedesktop.org
Sat Dec 21 07:57:35 UTC 2019


 vcl/source/gdi/bitmap3.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 817b6e6f97ed50d999928b1ff37db8357d37b505
Author:     Noel Grandin <noel.grandin at collabora.co.uk>
AuthorDate: Fri Dec 20 09:02:52 2019 +0200
Commit:     Noel Grandin <noel.grandin at 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.grandin at 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;
             }
         }


More information about the Libreoffice-commits mailing list