summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2023-01-15 20:13:33 +0000
committerCaolán McNamara <caolanm@redhat.com>2023-01-16 10:32:47 +0000
commit8003a7b117f822a03b661db86534cc6b4787475a (patch)
tree43a89ca90c867d9b51a11c3512e2df1d2ff3611d /vcl
parente5b86ec34da98d92a749885a06e9093c0f64af80 (diff)
cid#1412875 Uninitialized pointer field
Change-Id: I551a18eddb5a2f436ecb947411faef09ac74d016 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/145537 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/unx/generic/gdi/cairo_xlib_cairo.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/vcl/unx/generic/gdi/cairo_xlib_cairo.cxx b/vcl/unx/generic/gdi/cairo_xlib_cairo.cxx
index 9ec8167fbfdd..26d8876a8906 100644
--- a/vcl/unx/generic/gdi/cairo_xlib_cairo.cxx
+++ b/vcl/unx/generic/gdi/cairo_xlib_cairo.cxx
@@ -65,7 +65,8 @@ namespace cairo
pDisplay(pSysDat.pDisplay),
hDrawable(pSysDat.hDrawable),
pVisual(pSysDat.pVisual),
- nScreen(pSysDat.nScreen)
+ nScreen(pSysDat.nScreen),
+ pRenderFormat(nullptr)
{}
X11SysData::X11SysData( const SystemEnvData& pSysDat, const SalFrame* pReference ) :