Change-Id: I2745fe4a7ffdae1e22fb103023c5555505f49548
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174058
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
This commit is contained in:
Andrea Gelmini 2024-09-27 18:59:14 +02:00 committed by Julien Nabet
parent 3e069a6fd5
commit 5a505cfa26

View file

@ -908,7 +908,7 @@ CairoPixelProcessor2D::CairoPixelProcessor2D(const geometry::ViewInformation2D&
{ {
// optional: if the possibility to add an initial clip relative // optional: if the possibility to add an initial clip relative
// to the real pixel dimensions of the target surface is used, // to the real pixel dimensions of the target surface is used,
// aplly it here using that nice existing method of cairo // apply it here using that nice existing method of cairo
mpCreateForRectangle = cairo_surface_create_for_rectangle( mpCreateForRectangle = cairo_surface_create_for_rectangle(
pTarget, nOffsetPixelX, nOffsetPixelY, nWidthPixel, nHeightPixel); pTarget, nOffsetPixelX, nOffsetPixelY, nWidthPixel, nHeightPixel);