From 8477ccec4d6e0263221f7d73cc1f4ef111411280 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Sun, 11 May 2014 11:19:04 +0100 Subject: coverity#707740 Uninitialized pointer field Change-Id: I2e948197f5299b93e22fdf3590494fcf72be3fdb --- dbaccess/source/ui/querydesign/ConnectionLine.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'dbaccess') 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; -- cgit