vcl/qa/cppunit/svm/svmtest.cxx |   25 +++++++++++++++++++++----
 1 file changed, 21 insertions(+), 4 deletions(-)

New commits:
commit 569b31baeea6f877a6568474dfdbba0487b3d729
Author:     Caolán McNamara <caolan.mcnam...@collabora.com>
AuthorDate: Wed May 8 20:46:15 2024 +0100
Commit:     Caolán McNamara <caolan.mcnam...@collabora.com>
CommitDate: Thu May 9 09:29:58 2024 +0200

    update crcs for --enable-cairo-rgba case
    
    Change-Id: If0588a018564a708361b0246b294520ac5d2d1db
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167314
    Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com>
    Reviewed-by: Aron Budea <aron.bu...@collabora.com>

diff --git a/vcl/qa/cppunit/svm/svmtest.cxx b/vcl/qa/cppunit/svm/svmtest.cxx
index d339e80b2fa3..1b5db975e2f2 100644
--- a/vcl/qa/cppunit/svm/svmtest.cxx
+++ b/vcl/qa/cppunit/svm/svmtest.cxx
@@ -33,6 +33,7 @@
 #include <basegfx/polygon/b2dpolypolygon.hxx>
 
 #include <config_features.h>
+#include <config_cairo_rgba.h>
 #include <config_fonts.h>
 #include <vcl/skia/SkiaHelper.hxx>
 
@@ -943,7 +944,11 @@ void SvmTest::checkBitmaps(const GDIMetaFile& rMetaFile)
 #if defined OSL_BIGENDIAN
         "5e01ddcc"
 #else
-        "469f0820"
+#if !ENABLE_CAIRO_RGBA
+        "469f0820"  // typical BGRA little-endian config
+#else
+        "3789377b"  // atypical RGBA little-endian config
+#endif
 #endif
         }});
     assertXPathAttrs(pDoc, "/metafile/bmpscale[1]"_ostr, {
@@ -956,7 +961,11 @@ void SvmTest::checkBitmaps(const GDIMetaFile& rMetaFile)
 #if defined OSL_BIGENDIAN
          "b8dee5da"
 #else
-         "3789377b"
+#if !ENABLE_CAIRO_RGBA
+         "3789377b"  // typical BGRA little-endian config
+#else
+         "469f0820"  // atypical RGBA little-endian config
+#endif
 #endif
         }
     });
@@ -1018,9 +1027,17 @@ void SvmTest::checkBitmapExs(const GDIMetaFile& 
rMetaFile, bool bIsSvmFile)
         "33b4a07c",
         "742c3e35",
 #else
-        "ac936607",
+#if !ENABLE_CAIRO_RGBA
+        "ac936607", // typical BGRA little-endian config
+#else
+        "ecd75a28", // atypical RGBA little-endian config
+#endif
         "4937e32d",
-        "3789377b",
+#if !ENABLE_CAIRO_RGBA
+        "3789377b", // typical BGRA little-endian config
+#else
+        "469f0820", // atypical RGBA little-endian config
+#endif
         "839e8cce",
         "236aaf55", // 1-bit
         "2949ccc7", // 4-bit color bitmap - same as 8-bit color bitmap

Reply via email to