From 444f105c20159fc4b8cc8b56d1ca6c20197f1551 Mon Sep 17 00:00:00 2001 From: Vladimir Glazounov Date: Tue, 1 Apr 2003 13:03:58 +0000 Subject: INTEGRATION: CWS dba03 (1.10.8.1.12); FILE MERGED 2003/03/18 08:21:58 oj 1.10.8.1.12.1: #107059# generate error message when types are not compatible --- dbaccess/source/ui/misc/WColumnSelect.cxx | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'dbaccess/source/ui/misc/WColumnSelect.cxx') diff --git a/dbaccess/source/ui/misc/WColumnSelect.cxx b/dbaccess/source/ui/misc/WColumnSelect.cxx index 5e01c88b7de5..c6301fd8d1c2 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.11 $ + * $Revision: 1.12 $ * - * last change: $Author: hr $ $Date: 2003-03-19 17:52:51 $ + * last change: $Author: vg $ $Date: 2003-04-01 14:03:58 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -360,13 +360,16 @@ void OWizColumnSelect::createNewColumn( ListBox* _pListbox, _nMaxNameLen); OFieldDescription* pNewField = new OFieldDescription(*_pSrcField); pNewField->SetName(sConvertedName); - sal_Bool bNotConvert; + sal_Bool bNotConvert = sal_True; pNewField->SetType(m_pParent->convertType(_pSrcField->getTypeInfo(),bNotConvert)); if ( !m_pParent->supportsPrimaryKey() ) pNewField->SetPrimaryKey(sal_False); _pListbox->SetEntryData(_pListbox->InsertEntry(sConvertedName),pNewField); _rRightColumns.push_back(sConvertedName); + + if ( !bNotConvert ) + m_pParent->showColumnTypeNotSupported(sConvertedName); } // ----------------------------------------------------------------------------- void OWizColumnSelect::moveColumn( ListBox* _pRight, -- cgit