vcl/headless/CairoCommon.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 12b64d959573186ef2169e92702602a952a2c772
Author:     Noel Grandin <[email protected]>
AuthorDate: Thu Dec 19 09:22:07 2024 +0200
Commit:     Noel Grandin <[email protected]>
CommitDate: Thu Dec 19 10:32:29 2024 +0100

    fix comment in assert
    
    Change-Id: I7a9909bf1e6721726befb3756d4c897d9dcec2c8
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/178783
    Tested-by: Jenkins
    Reviewed-by: Noel Grandin <[email protected]>

diff --git a/vcl/headless/CairoCommon.cxx b/vcl/headless/CairoCommon.cxx
index a36837d02923..6b6fd6dedcd7 100644
--- a/vcl/headless/CairoCommon.cxx
+++ b/vcl/headless/CairoCommon.cxx
@@ -2022,7 +2022,7 @@ std::optional<BitmapBuffer> 
FastConvert24BitRgbTo32BitCairo(const BitmapBuffer*
         {
 #if ENABLE_CAIRO_RGBA
             static_assert(SVP_CAIRO_FORMAT == ScanlineFormat::N32BitTcRgba,
-                          "Expected SVP_CAIRO_FORMAT set to N32BitTcBgra");
+                          "Expected SVP_CAIRO_FORMAT set to N32BitTcRgba");
             static_assert(SVP_24BIT_FORMAT == ScanlineFormat::N24BitTcRgb,
                           "Expected SVP_24BIT_FORMAT set to N24BitTcRgb");
             pD[0] = pS[0];
@@ -2031,7 +2031,7 @@ std::optional<BitmapBuffer> 
FastConvert24BitRgbTo32BitCairo(const BitmapBuffer*
             pD[3] = 0xff; // Alpha
 #elif defined OSL_BIGENDIAN
             static_assert(SVP_CAIRO_FORMAT == ScanlineFormat::N32BitTcArgb,
-                          "Expected SVP_CAIRO_FORMAT set to N32BitTcBgra");
+                          "Expected SVP_CAIRO_FORMAT set to N32BitTcArgb");
             static_assert(SVP_24BIT_FORMAT == ScanlineFormat::N24BitTcRgb,
                           "Expected SVP_24BIT_FORMAT set to N24BitTcRgb");
             pD[0] = 0xff; // Alpha

Reply via email to