Kaydet (Commit) 16417688 authored tarafından Robert Antoni Buj i Gelonch's avatar Robert Antoni Buj i Gelonch Kaydeden (comit) Noel Grandin

forms: Pass array of length equal to the size of the collection

Change-Id: Id880953105f6100b15cd78f48ce0c8dbcb7ffb8d
Reviewed-on: https://gerrit.libreoffice.org/11687Reviewed-by: 's avatarNoel Grandin <noelgrandin@gmail.com>
Tested-by: 's avatarNoel Grandin <noelgrandin@gmail.com>
üst eba71a49
......@@ -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() );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment