summaryrefslogtreecommitdiff
path: root/connectivity/source/drivers/file/FStatement.cxx
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2004-03-15 11:46:56 +0000
committerOliver Bolte <obo@openoffice.org>2004-03-15 11:46:56 +0000
commit1c1cc664486237918c72e8538bfce75eca77da38 (patch)
treee2c268581fa5c4a5b7551fd9e6e889c5f042b808 /connectivity/source/drivers/file/FStatement.cxx
parent9502d341dd4324eb256b86db521522889dc4b763 (diff)
INTEGRATION: CWS oj08 (1.30.36); FILE MERGED
2004/01/29 11:30:46 oj 1.30.36.1: #i24314# update and insert stmt (search) fixed
Diffstat (limited to 'connectivity/source/drivers/file/FStatement.cxx')
-rw-r--r--connectivity/source/drivers/file/FStatement.cxx10
1 files changed, 8 insertions, 2 deletions
diff --git a/connectivity/source/drivers/file/FStatement.cxx b/connectivity/source/drivers/file/FStatement.cxx
index 8483af39530c..651a2b029d9b 100644
--- a/connectivity/source/drivers/file/FStatement.cxx
+++ b/connectivity/source/drivers/file/FStatement.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: FStatement.cxx,v $
*
- * $Revision: 1.30 $
+ * $Revision: 1.31 $
*
- * last change: $Author: obo $ $Date: 2003-09-04 08:25:44 $
+ * last change: $Author: obo $ $Date: 2004-03-15 12:46:56 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -606,6 +606,9 @@ void OStatement_Base::GetAssignValues()
m_aAssignValues->clear();
sal_Int32 nCount = Reference<XIndexAccess>(m_xColNames,UNO_QUERY)->getCount();
m_aAssignValues = new OAssignValues(nCount);
+ // unbound all
+ ::std::for_each(m_aAssignValues->begin()+1,m_aAssignValues->end(),TSetRefBound(sal_False));
+
m_aParameterIndexes.resize(nCount+1,SQL_NO_PARAMETER);
// Liste der Columns-Namen, die in der column_commalist vorkommen (mit ; getrennt):
@@ -708,6 +711,9 @@ void OStatement_Base::GetAssignValues()
m_aAssignValues->clear();
sal_Int32 nCount = Reference<XIndexAccess>(m_xColNames,UNO_QUERY)->getCount();
m_aAssignValues = new OAssignValues(nCount);
+ // unbound all
+ ::std::for_each(m_aAssignValues->begin()+1,m_aAssignValues->end(),TSetRefBound(sal_False));
+
m_aParameterIndexes.resize(nCount+1,SQL_NO_PARAMETER);
OSL_ENSURE(m_pParseTree->count() >= 4,"OResultSet: Fehler im Parse Tree");