diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-02-11 16:06:48 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-02-11 20:21:52 +0000 |
commit | 0b9aa86ec7896775f026ee1a117a014fa8c95581 (patch) | |
tree | 88076ce6c00d220f10395df034fffeb6fd85a630 /dbaccess | |
parent | c30677731c55688c764a669ecea1b1c4d17ae57d (diff) |
coverity#738614 Uninitialized pointer field
Change-Id: I368137f202b0247e0df4f12c2b09be145086ce00
Diffstat (limited to 'dbaccess')
-rw-r--r-- | dbaccess/source/ui/dlg/ConnectionHelper.cxx | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/dbaccess/source/ui/dlg/ConnectionHelper.cxx b/dbaccess/source/ui/dlg/ConnectionHelper.cxx index 6021ee0a826c..468d92854c96 100644 --- a/dbaccess/source/ui/dlg/ConnectionHelper.cxx +++ b/dbaccess/source/ui/dlg/ConnectionHelper.cxx @@ -90,13 +90,14 @@ namespace dbaui OConnectionHelper::OConnectionHelper( Window* pParent, const ResId& _rId, const SfxItemSet& _rCoreAttrs) - :OGenericAdministrationPage(pParent, _rId, _rCoreAttrs) - ,m_aFT_Connection ( this, ResId( FT_AUTOBROWSEURL, *_rId.GetResMgr() ) ) - ,m_aConnectionURL ( this, ResId( ET_AUTOBROWSEURL, *_rId.GetResMgr() ) ) - ,m_aPB_Connection ( this, ResId( PB_AUTOBROWSEURL, *_rId.GetResMgr() ) ) - ,m_aPB_CreateDB ( this, ResId( PB_CREATEDB, *_rId.GetResMgr() ) ) + : OGenericAdministrationPage(pParent, _rId, _rCoreAttrs) + , m_bUserGrabFocus(false) + , m_aFT_Connection(this, ResId(FT_AUTOBROWSEURL, *_rId.GetResMgr())) + , m_aConnectionURL(this, ResId(ET_AUTOBROWSEURL, *_rId.GetResMgr())) + , m_aPB_Connection(this, ResId(PB_AUTOBROWSEURL, *_rId.GetResMgr())) + , m_aPB_CreateDB(this, ResId(PB_CREATEDB, *_rId.GetResMgr())) + , m_pCollection(NULL) { - // extract the datasource type collection from the item set DbuTypeCollectionItem* pCollectionItem = PTR_CAST(DbuTypeCollectionItem, _rCoreAttrs.GetItem(DSID_TYPECOLLECTION)); if (pCollectionItem) |