vcl/unx/generic/gdi/x11cairotextrender.cxx | 12 ++++++++++++ 1 file changed, 12 insertions(+)
New commits: commit 6b5fc059543c16759abd5eec2576b5b68e96883a Author: Caolán McNamara <caol...@redhat.com> Date: Sun May 21 18:30:22 2017 +0100 XRegion has to match the "real" XRegion structure i.e. same as... commit 5470a365f25e5052b4dd74f76aa2196f0d70934b Author: Caolán McNamara <caol...@redhat.com> Date: Wed Nov 25 10:04:37 2015 +0000 XRegion has to match the "real" XRegion structure, even if we don't use some of the fields regression from commit dd351dd728687cffe432ce0ec9367ceb80e097fb Date: Tue Nov 24 08:50:39 2015 +0200 loplugin:unusedfields in vcl/ Change-Id: I8314eae6d507b6a7fb847d593458e15e666230c8 diff --git a/vcl/unx/generic/gdi/x11cairotextrender.cxx b/vcl/unx/generic/gdi/x11cairotextrender.cxx index 290f638a0196..4f6cc9f08a20 100644 --- a/vcl/unx/generic/gdi/x11cairotextrender.cxx +++ b/vcl/unx/generic/gdi/x11cairotextrender.cxx @@ -29,10 +29,22 @@ struct BOX { short x1, x2, y1, y2; }; + +/* + * Xutil.h contains the declaration: + * typedef struct _XRegion *Region; + * + * this struct has to match the real _Xregion + * definition, don't change this is remove apparently + * unused fields + */ + struct _XRegion { + long size; long numRects; BOX *rects; + BOX extents; }; X11CairoTextRender::X11CairoTextRender(X11SalGraphics& rParent)
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits