summaryrefslogtreecommitdiff
path: root/connectivity/source/drivers/file/FStatement.cxx
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2004-09-08 15:20:55 +0000
committerRüdiger Timm <rt@openoffice.org>2004-09-08 15:20:55 +0000
commite2c408b66a88c4e9be8dac1cb9d148d15940393e (patch)
treeb2570edddb589a5f374a5232fba2178ab8230871 /connectivity/source/drivers/file/FStatement.cxx
parent547019d27ea0a69f42d5bbbdfd55d6d3c15ab8bf (diff)
INTEGRATION: CWS ooo20040704 (1.31.28); FILE MERGED
2004/08/12 14:35:15 vg 1.31.28.2: #100000# fix for resync problems 2004/06/28 13:54:18 cmc 1.31.28.1: #i30801# allow using system stl if possible
Diffstat (limited to 'connectivity/source/drivers/file/FStatement.cxx')
-rw-r--r--connectivity/source/drivers/file/FStatement.cxx8
1 files changed, 5 insertions, 3 deletions
diff --git a/connectivity/source/drivers/file/FStatement.cxx b/connectivity/source/drivers/file/FStatement.cxx
index 7de6b8e2f205..ffe141f13d50 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.32 $
+ * $Revision: 1.33 $
*
- * last change: $Author: hr $ $Date: 2004-08-02 17:03:35 $
+ * last change: $Author: rt $ $Date: 2004-09-08 16:20:55 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -635,7 +635,9 @@ void OStatement_Base::GetAssignValues()
{
const Sequence< ::rtl::OUString>& aNames = m_xColNames->getElementNames();
const ::rtl::OUString* pBegin = aNames.getConstArray();
- aColumnNameList.insert(aColumnNameList.begin(),::std::vector<String>::const_iterator(pBegin),::std::vector<String>::const_iterator(pBegin + aNames.getLength()));
+ const ::rtl::OUString* pEnd = pBegin + aNames.getLength();
+ for (; pBegin != pEnd; ++pBegin)
+ aColumnNameList.push_back(*pBegin);
}
else
{