diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2003-03-19 16:57:12 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2003-03-19 16:57:12 +0000 |
commit | 2facbebb88fe72614d566c3187c8f86c5c61f8bd (patch) | |
tree | 911e686d46d917817914961e4fb3e00a89371174 /dbaccess/source/ui/misc/WColumnSelect.cxx | |
parent | #i4082# impl debug feature for parse nodes (diff) | |
download | core-2facbebb88fe72614d566c3187c8f86c5c61f8bd.tar.gz core-2facbebb88fe72614d566c3187c8f86c5c61f8bd.zip |
MWS_SRX644: migrate branch mws_srx644 -> HEAD
Diffstat (limited to 'dbaccess/source/ui/misc/WColumnSelect.cxx')
-rw-r--r-- | dbaccess/source/ui/misc/WColumnSelect.cxx | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/dbaccess/source/ui/misc/WColumnSelect.cxx b/dbaccess/source/ui/misc/WColumnSelect.cxx index a7ba85a71a04..5e01c88b7de5 100644 --- a/dbaccess/source/ui/misc/WColumnSelect.cxx +++ b/dbaccess/source/ui/misc/WColumnSelect.cxx @@ -2,9 +2,9 @@ * * $RCSfile: WColumnSelect.cxx,v $ * - * $Revision: 1.10 $ + * $Revision: 1.11 $ * - * last change: $Author: oj $ $Date: 2002-08-19 07:51:08 $ + * last change: $Author: hr $ $Date: 2003-03-19 17:52:51 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -181,7 +181,7 @@ void OWizColumnSelect::Reset() m_lbOrgColumnNames.SetEntryData(nPos,(*aIter)->second); } - m_pParent->clearDestColumns(); + // m_pParent->clearDestColumns(); if(m_lbOrgColumnNames.GetEntryCount()) m_lbOrgColumnNames.SelectEntryPos(0); @@ -360,8 +360,9 @@ void OWizColumnSelect::createNewColumn( ListBox* _pListbox, _nMaxNameLen); OFieldDescription* pNewField = new OFieldDescription(*_pSrcField); pNewField->SetName(sConvertedName); - pNewField->SetType(m_pParent->convertType(_pSrcField->getTypeInfo())); - if(!m_pParent->supportsPrimaryKey()) + sal_Bool bNotConvert; + pNewField->SetType(m_pParent->convertType(_pSrcField->getTypeInfo(),bNotConvert)); + if ( !m_pParent->supportsPrimaryKey() ) pNewField->SetPrimaryKey(sal_False); _pListbox->SetEntryData(_pListbox->InsertEntry(sConvertedName),pNewField); |