[Libreoffice-commits] core.git: forms/qa
Robert Antoni Buj i Gelonch
robert.buj at gmail.com
Mon Sep 29 01:14:58 PDT 2014
forms/qa/integration/forms/ListBox.java | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
New commits:
commit 16417688ef874e55f27daafe5ddb2293a39a9423
Author: Robert Antoni Buj i Gelonch <robert.buj at gmail.com>
Date: Mon Sep 29 10:12:34 2014 +0200
forms: Pass array of length equal to the size of the collection
Change-Id: Id880953105f6100b15cd78f48ce0c8dbcb7ffb8d
Reviewed-on: https://gerrit.libreoffice.org/11687
Reviewed-by: Noel Grandin <noelgrandin at gmail.com>
Tested-by: Noel Grandin <noelgrandin at gmail.com>
diff --git a/forms/qa/integration/forms/ListBox.java b/forms/qa/integration/forms/ListBox.java
index 1d12751..b4412a09 100644
--- a/forms/qa/integration/forms/ListBox.java
+++ b/forms/qa/integration/forms/ListBox.java
@@ -229,7 +229,9 @@ public class ListBox extends TestCase
}
// create the table taking all those foreign keys
- m_database.createTable( new HsqlTableDescriptor( m_foreignKeyTableName, foreignKeyColumns.toArray( new HsqlColumnDescriptor[0] ) ) );
+ m_database.createTable( new HsqlTableDescriptor(
+ m_foreignKeyTableName,
+ foreignKeyColumns.toArray( new HsqlColumnDescriptor[foreignKeyColumns.size()] ) ) );
// fill in some data
foreignKeyInsertSQL.append( ")" );
XPreparedStatement statement = connection.prepareStatement( foreignKeyInsertSQL.toString() );
More information about the Libreoffice-commits
mailing list