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

Stephan Bergmann (via logerrit) logerrit at kemper.freedesktop.org
Sun Oct 18 08:36:39 UTC 2020


 vcl/headless/svpgdi.cxx |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

New commits:
commit 35fbfc01ec7a549af6176ea737c07c78094255b3
Author:     Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Sat Oct 17 21:08:11 2020 +0200
Commit:     Stephan Bergmann <sbergman at redhat.com>
CommitDate: Sun Oct 18 10:35:59 2020 +0200

    loplugin:indentation
    
    Change-Id: I360bf008579629aabd45d4ed827c9c8c9117c332
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104470
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <sbergman at redhat.com>

diff --git a/vcl/headless/svpgdi.cxx b/vcl/headless/svpgdi.cxx
index 83a960a33391..c9826c774d59 100644
--- a/vcl/headless/svpgdi.cxx
+++ b/vcl/headless/svpgdi.cxx
@@ -447,7 +447,9 @@ namespace
                 assert(nFormat == CAIRO_FORMAT_RGB24_888 && "Expected RGB24_888 image");
             else
 #endif
-            assert(nFormat == CAIRO_FORMAT_ARGB32 && "need to implement CAIRO_FORMAT_A1 after all here");
+            {
+                assert(nFormat == CAIRO_FORMAT_ARGB32 && "need to implement CAIRO_FORMAT_A1 after all here");
+            }
 
             rStride = cairo_format_stride_for_width(nFormat, cairo_image_surface_get_width(implGetSurface()));
 


More information about the Libreoffice-commits mailing list