diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-03-21 13:23:09 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-03-21 14:38:40 +0000 |
commit | adcb33d71d2c2732fb5af7d19a4cd58adb009993 (patch) | |
tree | c9580acaea25f316a1ac3fe03ef17a7dd58dfed7 /vcl | |
parent | 8c6f8b169c4f7b81defd8f85525abd07a5306339 (diff) |
coverity#708662 Uninitialized pointer field
Change-Id: Icfa4ee2a525016775b5917143b5c4333212db362
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/inc/unx/salgdi.h | 1 | ||||
-rw-r--r-- | vcl/unx/generic/gdi/salgdi.cxx | 1 | ||||
-rw-r--r-- | vcl/unx/generic/gdi/salgdi3.cxx | 2 |
3 files changed, 1 insertions, 3 deletions
diff --git a/vcl/inc/unx/salgdi.h b/vcl/inc/unx/salgdi.h index 03e7f50662a5..dc7a46ab8967 100644 --- a/vcl/inc/unx/salgdi.h +++ b/vcl/inc/unx/salgdi.h @@ -110,7 +110,6 @@ protected: SalColor nTextColor_; Pixel nTextPixel_; - bool bFontVertical_; bool bDisableGraphite_; diff --git a/vcl/unx/generic/gdi/salgdi.cxx b/vcl/unx/generic/gdi/salgdi.cxx index c4b9cf924fea..3394c0ff230e 100644 --- a/vcl/unx/generic/gdi/salgdi.cxx +++ b/vcl/unx/generic/gdi/salgdi.cxx @@ -92,6 +92,7 @@ X11SalGraphics::X11SalGraphics() { m_pFrame = NULL; m_pVDev = NULL; + m_pColormap = NULL; m_pDeleteColormap = NULL; hDrawable_ = None; m_aXRenderPicture = 0; diff --git a/vcl/unx/generic/gdi/salgdi3.cxx b/vcl/unx/generic/gdi/salgdi3.cxx index 109c95af68e9..05e9de371c15 100644 --- a/vcl/unx/generic/gdi/salgdi3.cxx +++ b/vcl/unx/generic/gdi/salgdi3.cxx @@ -135,8 +135,6 @@ bool X11SalGraphics::setFont( const FontSelectPattern *pEntry, int nFallbackLeve if( !pEntry ) return false; - bFontVertical_ = pEntry->mbVertical; - // return early if this is not a valid font for this graphics if( !pEntry->mpFontData ) return false; |