summaryrefslogtreecommitdiff
path: root/connectivity/source/drivers/file/FStatement.cxx
diff options
context:
space:
mode:
authorOcke Janssen <oj@openoffice.org>2001-12-07 09:06:12 +0000
committerOcke Janssen <oj@openoffice.org>2001-12-07 09:06:12 +0000
commit0439ec80503277978d97526a5b43db88a26210d8 (patch)
treee1aec8c36ba2eebaf29af557488980ccd8c21f83 /connectivity/source/drivers/file/FStatement.cxx
parent4a27a4bc107b88133390f8fb2692e0b84b2ff658 (diff)
#95508# check if it is a token
Diffstat (limited to 'connectivity/source/drivers/file/FStatement.cxx')
-rw-r--r--connectivity/source/drivers/file/FStatement.cxx16
1 files changed, 13 insertions, 3 deletions
diff --git a/connectivity/source/drivers/file/FStatement.cxx b/connectivity/source/drivers/file/FStatement.cxx
index ef361a4b6f2c..595a6b0f2ace 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.25 $
+ * $Revision: 1.26 $
*
- * last change: $Author: oj $ $Date: 2001-12-03 12:11:40 $
+ * last change: $Author: oj $ $Date: 2001-12-07 10:06:12 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -651,8 +651,18 @@ void OStatement_Base::GetAssignValues()
throwFunctionSequenceException(*this);
}
}
- else
+ else if(pRow_Value_Const->isToken())
ParseAssignValues(aColumnNameList,pRow_Value_Const,i);
+ else
+ {
+ if(pRow_Value_Const->count() == aColumnNameList.size())
+ {
+ for (sal_uInt32 j = 0; j < pRow_Value_Const->count(); ++j)
+ ParseAssignValues(aColumnNameList,pRow_Value_Const->getChild(j),nIndex++);
+ }
+ else
+ throwFunctionSequenceException(*this);
+ }
}
else
{