[Libreoffice-commits] core.git: connectivity/source
Andrzej J.R. Hunt
andrzej at ahunt.org
Wed Jul 31 08:42:27 PDT 2013
connectivity/source/drivers/dbase/DDatabaseMetaData.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit ea4003de2ea92424c60ef2aaa9c5ff260b804852
Author: Andrzej J.R. Hunt <andrzej at ahunt.org>
Date: Wed Jul 31 10:24:20 2013 +0200
Reserve correct size (dbase).
19 values are inserted (but misleadingly only 1-18 are used).
Change-Id: Iae76c16494e8a9a1c1057b0993679ef828254b8f
Reviewed-on: https://gerrit.libreoffice.org/5210
Reviewed-by: Fridrich Strba <fridrich at documentfoundation.org>
Tested-by: Fridrich Strba <fridrich at documentfoundation.org>
diff --git a/connectivity/source/drivers/dbase/DDatabaseMetaData.cxx b/connectivity/source/drivers/dbase/DDatabaseMetaData.cxx
index 15b683e..bc2e3da 100644
--- a/connectivity/source/drivers/dbase/DDatabaseMetaData.cxx
+++ b/connectivity/source/drivers/dbase/DDatabaseMetaData.cxx
@@ -66,7 +66,7 @@ Reference< XResultSet > ODbaseDatabaseMetaData::impl_getTypeInfo_throw( )
if(aRows.empty())
{
ODatabaseMetaDataResultSet::ORow aRow;
- aRow.reserve(18);
+ aRow.reserve(19);
aRow.push_back(ODatabaseMetaDataResultSet::getEmptyValue());
aRow.push_back(new ORowSetValueDecorator(OUString("VARCHAR")));
More information about the Libreoffice-commits
mailing list