summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/misc/WColumnSelect.cxx
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2003-04-01 13:03:58 +0000
committerVladimir Glazounov <vg@openoffice.org>2003-04-01 13:03:58 +0000
commit444f105c20159fc4b8cc8b56d1ca6c20197f1551 (patch)
tree85878fb2d6892aa367846dd6c6f40f0f1a3b197d /dbaccess/source/ui/misc/WColumnSelect.cxx
parente0ea232096349461089665a8433778f795cc9348 (diff)
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
Diffstat (limited to 'dbaccess/source/ui/misc/WColumnSelect.cxx')
-rw-r--r--dbaccess/source/ui/misc/WColumnSelect.cxx9
1 files changed, 6 insertions, 3 deletions
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,