summaryrefslogtreecommitdiff
path: root/dbaccess
diff options
context:
space:
mode:
Diffstat (limited to 'dbaccess')
-rw-r--r--dbaccess/source/ui/querydesign/ConnectionLine.cxx3
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;