summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-11-25 10:04:37 +0000
committerCaolán McNamara <caolanm@redhat.com>2015-11-25 10:04:37 +0000
commit5470a365f25e5052b4dd74f76aa2196f0d70934b (patch)
tree1fbefa691c162dfab08cdead251a811dfdbc0da8
parent694214bebd43a39f1a77fc6541c2148210327f5c (diff)
XRegion has to match the "real" XRegion structure, even if we don't use
some of the fields regression from commit dd351dd728687cffe432ce0ec9367ceb80e097fb Author: Noel Grandin <noel@peralex.com> Date: Tue Nov 24 08:50:39 2015 +0200 loplugin:unusedfields in vcl/ Change-Id: If68bf1e0ce90ee3c513f5461d5acd7a32e238d7b
-rw-r--r--vcl/unx/generic/gdi/x11cairotextrender.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/vcl/unx/generic/gdi/x11cairotextrender.cxx b/vcl/unx/generic/gdi/x11cairotextrender.cxx
index bbdda88d36cd..8734526193fd 100644
--- a/vcl/unx/generic/gdi/x11cairotextrender.cxx
+++ b/vcl/unx/generic/gdi/x11cairotextrender.cxx
@@ -36,6 +36,7 @@ struct BOX
};
struct _XRegion
{
+ long size;
long numRects;
BOX *rects;
BOX extents;