diff options
author | Norbert Thiebaud <nthiebaud@gmail.com> | 2014-02-01 15:01:25 -0600 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2014-02-01 15:30:00 -0600 |
commit | 4a169e4203c10ec8f76b9bcb33882c82b65c7bab (patch) | |
tree | 1000cf9acad185ce9b4ae98c6ff8f1da497a9af1 /dbaccess | |
parent | 74fe7a96aaa00dab580510c162a4373cb811146f (diff) |
coverity#707742 : Uninitialized scalar field
Change-Id: I52bc7ec4326e212a93df3be9b2232bac584d9ee0
Diffstat (limited to 'dbaccess')
-rw-r--r-- | dbaccess/source/ui/querydesign/QTableConnectionData.cxx | 44 |
1 files changed, 24 insertions, 20 deletions
diff --git a/dbaccess/source/ui/querydesign/QTableConnectionData.cxx b/dbaccess/source/ui/querydesign/QTableConnectionData.cxx index 81f53ba7f52f..5167d8a7a38e 100644 --- a/dbaccess/source/ui/querydesign/QTableConnectionData.cxx +++ b/dbaccess/source/ui/querydesign/QTableConnectionData.cxx @@ -25,34 +25,38 @@ using namespace dbaui; // class OQueryTableConnectionData OQueryTableConnectionData::OQueryTableConnectionData() - :OTableConnectionData() - ,m_eJoinType (INNER_JOIN) - ,m_bNatural(false) + : OTableConnectionData() + , m_nFromEntryIndex(0) + , m_nDestEntryIndex(0) + , m_eJoinType (INNER_JOIN) + , m_bNatural(false) + , m_eFromType(TAB_NORMAL_FIELD) + , m_eDestType(TAB_NORMAL_FIELD) { } OQueryTableConnectionData::OQueryTableConnectionData( const OQueryTableConnectionData& rConnData ) - :OTableConnectionData( rConnData ) + : OTableConnectionData( rConnData ) + , m_nFromEntryIndex(rConnData.m_nFromEntryIndex) + , m_nDestEntryIndex(rConnData.m_nDestEntryIndex) + , m_eJoinType(rConnData.m_eJoinType) + , m_bNatural(rConnData.m_bNatural) + , m_eFromType(rConnData.m_eFromType) + , m_eDestType(rConnData.m_eDestType) { - m_nFromEntryIndex = rConnData.m_nFromEntryIndex; - m_nDestEntryIndex = rConnData.m_nDestEntryIndex; - m_eFromType = rConnData.m_eFromType; - m_eDestType = rConnData.m_eDestType; - m_eJoinType = rConnData.m_eJoinType; - m_bNatural = rConnData.m_bNatural; } -OQueryTableConnectionData::OQueryTableConnectionData(const TTableWindowData::value_type& _pReferencingTable - ,const TTableWindowData::value_type& _pReferencedTable - ,const OUString& rConnName) - :OTableConnectionData( _pReferencingTable,_pReferencedTable, rConnName ) - ,m_nFromEntryIndex(0) - ,m_nDestEntryIndex(0) - ,m_eJoinType (INNER_JOIN) - ,m_bNatural(false) - ,m_eFromType(TAB_NORMAL_FIELD) - ,m_eDestType(TAB_NORMAL_FIELD) +OQueryTableConnectionData::OQueryTableConnectionData(const TTableWindowData::value_type& _pReferencingTable, + const TTableWindowData::value_type& _pReferencedTable, + const OUString& rConnName) + : OTableConnectionData( _pReferencingTable,_pReferencedTable, rConnName ) + , m_nFromEntryIndex(0) + , m_nDestEntryIndex(0) + , m_eJoinType (INNER_JOIN) + , m_bNatural(false) + , m_eFromType(TAB_NORMAL_FIELD) + , m_eDestType(TAB_NORMAL_FIELD) { } |