summaryrefslogtreecommitdiff
path: root/vcl/headless
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2020-10-17 21:08:11 +0200
committerStephan Bergmann <sbergman@redhat.com>2020-10-18 10:35:59 +0200
commit35fbfc01ec7a549af6176ea737c07c78094255b3 (patch)
tree86e0da0ba3bc5e7717c4019a14a38249243f784f /vcl/headless
parent8feb66ac2f08a2fde2567d2c358aab53b3e42c48 (diff)
loplugin:indentation
Change-Id: I360bf008579629aabd45d4ed827c9c8c9117c332 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104470 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'vcl/headless')
-rw-r--r--vcl/headless/svpgdi.cxx4
1 files changed, 3 insertions, 1 deletions
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()));