[Libreoffice-commits] core.git: forms/source

Lionel Elie Mamane lionel at mamane.lu
Mon Apr 22 12:55:01 PDT 2013


 forms/source/component/ListBox.cxx |   12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

New commits:
commit dfcbc1e1af08f555d21ae85550ec16fb001da991
Author: Lionel Elie Mamane <lionel at mamane.lu>
Date:   Mon Apr 22 21:53:59 2013 +0200

    Data-aware ListBox: declare the newly supported External Binding Types
    
    Change-Id: I5ab021f99373f24b6be2ca6db00fe8b6e69bc9cb

diff --git a/forms/source/component/ListBox.cxx b/forms/source/component/ListBox.cxx
index 8771869..204d874 100644
--- a/forms/source/component/ListBox.cxx
+++ b/forms/source/component/ListBox.cxx
@@ -1619,11 +1619,13 @@ namespace frm
     //--------------------------------------------------------------------
     Sequence< Type > OListBoxModel::getSupportedBindingTypes()
     {
-        Sequence< Type > aTypes(4);
-        aTypes[0] = ::getCppuType( static_cast< Sequence< sal_Int32 >* >( NULL ) );
-        aTypes[1] = ::getCppuType( static_cast< sal_Int32* >( NULL ) );
-        aTypes[2] = ::getCppuType( static_cast< Sequence< OUString >* >( NULL ) );
-        aTypes[3] = ::getCppuType( static_cast< OUString* >( NULL ) );
+        Sequence< Type > aTypes(6);
+        aTypes[0] = ::getCppuType( static_cast< Sequence< Any >* >( NULL ) );
+        aTypes[1] = ::getCppuType( static_cast< Any* >( NULL ) );
+        aTypes[2] = ::getCppuType( static_cast< Sequence< sal_Int32 >* >( NULL ) );
+        aTypes[3] = ::getCppuType( static_cast< sal_Int32* >( NULL ) );
+        aTypes[4] = ::getCppuType( static_cast< Sequence< OUString >* >( NULL ) );
+        aTypes[5] = ::getCppuType( static_cast< OUString* >( NULL ) );
         return aTypes;
     }
 


More information about the Libreoffice-commits mailing list