diff options
Diffstat (limited to 'dbaccess/source/ui/misc/WNameMatch.cxx')
-rw-r--r-- | dbaccess/source/ui/misc/WNameMatch.cxx | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/dbaccess/source/ui/misc/WNameMatch.cxx b/dbaccess/source/ui/misc/WNameMatch.cxx index 48f5d09df7c6..3dca40141566 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.10 $ + * $Revision: 1.11 $ * - * last change: $Author: oj $ $Date: 2002-08-19 07:51:09 $ + * last change: $Author: hr $ $Date: 2003-03-19 17:52:52 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -235,9 +235,10 @@ sal_Bool OWizNameMatching::LeavePage() m_pParent->m_vColumnPos[nPos].first = ::std::distance(pDestColumns->begin(),aDestIter) + 1; m_pParent->m_vColumnPos[nPos].second = ++nParamPos; - const OTypeInfo* pTypeInfo = m_pParent->convertType((*aDestIter)->second->getTypeInfo()); + sal_Bool bNotConvert; + TOTypeInfoSP pTypeInfo = m_pParent->convertType((*aDestIter)->second->getTypeInfo(),bNotConvert); sal_Int32 nType = ::com::sun::star::sdbc::DataType::VARCHAR; - if(pTypeInfo) + if ( pTypeInfo.get() ) nType = pTypeInfo->nType; m_pParent->m_vColumnTypes[nPos] = nType; } |