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

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Tue Jan 29 11:01:41 UTC 2019


 vcl/headless/svpgdi.cxx |    4 ----
 1 file changed, 4 deletions(-)

New commits:
commit 280243ff55c8404b39f32f4d636b89ac1b0b9a60
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Tue Jan 29 09:36:59 2019 +0000
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Tue Jan 29 12:01:19 2019 +0100

    drop now hopeless non-optimal depth warning
    
    pointless since...
    
    commit 33761c69e9d3fa16e7a5b176200d183dc3236627
    Date:   Sun Dec 3 23:35:26 2017 -0500
    
        vcl-svp: Store 24-bit images in 3-byte pixels
    
    squashed the effort to percolate preferred target format as bitmap storage
    format
    
    Change-Id: I8a5367d4d7d251d5dd37011d0e51ab09cf5c57ac
    Reviewed-on: https://gerrit.libreoffice.org/67055
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/vcl/headless/svpgdi.cxx b/vcl/headless/svpgdi.cxx
index 5f389b8468f2..dd6dee02972e 100644
--- a/vcl/headless/svpgdi.cxx
+++ b/vcl/headless/svpgdi.cxx
@@ -259,10 +259,6 @@ namespace
 #endif
             {
                 //big stupid copy here
-                static bool bWarnedOnce = false;
-                SAL_WARN_IF(!bWarnedOnce, "vcl.gdi", "non default depth bitmap, slow convert, upscale the input");
-                bWarnedOnce = true;
-
                 const BitmapBuffer* pSrc = rSrcBmp.GetBuffer();
                 const SalTwoRect aTwoRect = { 0, 0, pSrc->mnWidth, pSrc->mnHeight,
                                               0, 0, pSrc->mnWidth, pSrc->mnHeight };


More information about the Libreoffice-commits mailing list