diff options
author | Ashod Nakashian <ashod.nakashian@collabora.co.uk> | 2018-11-02 09:24:19 -0400 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2018-11-09 18:42:35 +0100 |
commit | b5e8afda4728f360401c52f3c8c2c92bad9d2136 (patch) | |
tree | d350aba7bdaf5398550e2d83329da4ff3707812e /vcl/headless | |
parent | e010d5c3f8d3d6118323f750362e13e757f89e60 (diff) |
LOK: custom widgets: check size of API structures
Change-Id: Iff50f7aeb471870230e9e822657deed6aefad268
Diffstat (limited to 'vcl/headless')
-rw-r--r-- | vcl/headless/CustomWidgetDraw.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/vcl/headless/CustomWidgetDraw.cxx b/vcl/headless/CustomWidgetDraw.cxx index d7eb359311a8..d1454911489f 100644 --- a/vcl/headless/CustomWidgetDraw.cxx +++ b/vcl/headless/CustomWidgetDraw.cxx @@ -311,6 +311,7 @@ bool CustomWidgetDraw::updateSettings(AllSettings& rSettings) return false; WidgetDrawStyle aStyle; + aStyle.nSize = sizeof(WidgetDrawStyle); if (s_pWidgetImplementation->updateSettings(aStyle)) { |