summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/misc/WNameMatch.cxx
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2003-04-01 13:30:57 +0000
committerVladimir Glazounov <vg@openoffice.org>2003-04-01 13:30:57 +0000
commit6ac89d6c77b8cbc795fbcea83ca447715618872c (patch)
treecfa3d18decafc8bac15a93282c0f48c33903f0cc /dbaccess/source/ui/misc/WNameMatch.cxx
parentf2356176756217a51675ad6ba37b539449ccc27e (diff)
INTEGRATION: CWS dba03 (1.10.8.1.10); FILE MERGED
2003/03/18 08:22:56 oj 1.10.8.1.10.1: #107059# generate error message when types are not compatible
Diffstat (limited to 'dbaccess/source/ui/misc/WNameMatch.cxx')
-rw-r--r--dbaccess/source/ui/misc/WNameMatch.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/dbaccess/source/ui/misc/WNameMatch.cxx b/dbaccess/source/ui/misc/WNameMatch.cxx
index 46e937ab5..c0f1ffa6a 100644
--- a/dbaccess/source/ui/misc/WNameMatch.cxx
+++ b/dbaccess/source/ui/misc/WNameMatch.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: WNameMatch.cxx,v $
*
- * $Revision: 1.11 $
+ * $Revision: 1.12 $
*
- * last change: $Author: hr $ $Date: 2003-03-19 17:52:52 $
+ * last change: $Author: vg $ $Date: 2003-04-01 14:30:57 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -235,8 +235,8 @@ sal_Bool OWizNameMatching::LeavePage()
m_pParent->m_vColumnPos[nPos].first = ::std::distance(pDestColumns->begin(),aDestIter) + 1;
m_pParent->m_vColumnPos[nPos].second = ++nParamPos;
- sal_Bool bNotConvert;
- TOTypeInfoSP pTypeInfo = m_pParent->convertType((*aDestIter)->second->getTypeInfo(),bNotConvert);
+ sal_Bool bNotConvert = sal_True;
+ const OTypeInfo* pTypeInfo = m_pParent->convertType((*aDestIter)->second->getTypeInfo(),bNotConvert);
sal_Int32 nType = ::com::sun::star::sdbc::DataType::VARCHAR;
if ( pTypeInfo.get() )
nType = pTypeInfo->nType;