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....@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 <noelgran...@gmail.com>
    Tested-by: Noel Grandin <noelgran...@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() );
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to