diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-05-11 11:19:04 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-05-11 11:52:31 +0100 |
commit | 8477ccec4d6e0263221f7d73cc1f4ef111411280 (patch) | |
tree | 034fca0c21bf55935de95458de842e8b10cef930 /dbaccess/source/ui/querydesign/ConnectionLine.cxx | |
parent | 82a33b849cfcb151cdc72940c167197a34d450fe (diff) |
coverity#707740 Uninitialized pointer field
Change-Id: I2e948197f5299b93e22fdf3590494fcf72be3fdb
Diffstat (limited to 'dbaccess/source/ui/querydesign/ConnectionLine.cxx')
-rw-r--r-- | dbaccess/source/ui/querydesign/ConnectionLine.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/dbaccess/source/ui/querydesign/ConnectionLine.cxx b/dbaccess/source/ui/querydesign/ConnectionLine.cxx index 53dad9a3d102..8fe389ce7a83 100644 --- a/dbaccess/source/ui/querydesign/ConnectionLine.cxx +++ b/dbaccess/source/ui/querydesign/ConnectionLine.cxx @@ -112,11 +112,12 @@ namespace // class OConnectionLine OConnectionLine::OConnectionLine( OTableConnection* _pConn, OConnectionLineDataRef _pLineData ) : m_pTabConn( _pConn ) - ,m_pData( _pLineData ) + , m_pData( _pLineData ) { } OConnectionLine::OConnectionLine( const OConnectionLine& _rLine ) + : m_pTabConn(NULL) { m_pData = new OConnectionLineData( *_rLine.GetData() ); *this = _rLine; |