[Libreoffice-commits] core.git: cui/source

Caolán McNamara caolanm at redhat.com
Sun Nov 13 20:49:37 UTC 2016


 cui/source/tabpages/tparea.cxx |    4 ++++
 1 file changed, 4 insertions(+)

New commits:
commit fd90e405888cb566c8064497ee04d31360480330
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Sun Nov 13 20:47:42 2016 +0000

    coverity#1371441 Uninitialized pointer field
    
    Change-Id: Icabed9a27be9e34552531997818afd202f31114c

diff --git a/cui/source/tabpages/tparea.cxx b/cui/source/tabpages/tparea.cxx
index 773d668..b58a306 100644
--- a/cui/source/tabpages/tparea.cxx
+++ b/cui/source/tabpages/tparea.cxx
@@ -84,6 +84,7 @@ SvxAreaTabPage::SvxAreaTabPage( vcl::Window* pParent, const SfxItemSet& rInAttrs
     m_pHatchingList( nullptr ),
     m_pBitmapList( nullptr ),
     m_pPatternList( nullptr ),
+    mpDrawModel(nullptr),
 
     // local fixed not o be changed values for local pointers
     maFixed_ChangeType(ChangeType::NONE),
@@ -94,7 +95,10 @@ SvxAreaTabPage::SvxAreaTabPage( vcl::Window* pParent, const SfxItemSet& rInAttrs
     m_pnPatternListState(&maFixed_ChangeType),
     m_pnGradientListState(&maFixed_ChangeType),
     m_pnHatchingListState(&maFixed_ChangeType),
+    m_nPageType(PageType::Area),
     m_nPos(0),
+    m_nDlgType(0),
+    m_pbAreaTP(nullptr),
     m_aXFillAttr          ( rInAttrs.GetPool() ),
     m_rXFSet              ( m_aXFillAttr.GetItemSet() )
 {


More information about the Libreoffice-commits mailing list