[Libreoffice-commits] core.git: Branch 'libreoffice-5-1' - vcl/headless

Caolán McNamara caolanm at redhat.com
Fri Nov 27 06:04:27 PST 2015


 vcl/headless/svpgdi.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit ff2bdd52f54db24f867957a3293fae08e6a431a3
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Fri Nov 27 10:49:23 2015 +0000

    crashtesting: we're using OneBitMsbPal as the 1bit format, not OneBitLsbGrey
    
    Change-Id: I25c6fe1bd1df568911838ab161a130f8b0571e16
    (cherry picked from commit 5b9062a229611258153bd08296844d92fe3eb0d5)

diff --git a/vcl/headless/svpgdi.cxx b/vcl/headless/svpgdi.cxx
index f5d45d7..0f89c03 100644
--- a/vcl/headless/svpgdi.cxx
+++ b/vcl/headless/svpgdi.cxx
@@ -102,7 +102,7 @@ namespace
             return false;
 
         if (rBuffer->getScanlineFormat() != SVP_CAIRO_FORMAT
-         && rBuffer->getScanlineFormat() != basebmp::Format::OneBitLsbGrey)
+         && rBuffer->getScanlineFormat() != basebmp::Format::OneBitMsbPal)
             return false;
 
 #if CAIRO_VERSION >= CAIRO_VERSION_ENCODE(1, 10, 0)


More information about the Libreoffice-commits mailing list