[Libreoffice-commits] core.git: Branch 'aoo/trunk' - toolkit/source

Tsutomu Uchino hanya at apache.org
Fri May 16 03:07:26 PDT 2014


 toolkit/source/awt/vclxwindows.cxx |    6 ++++++
 1 file changed, 6 insertions(+)

New commits:
commit 213aafbf006a5099e951f65a472e4f8fa66256a4
Author: Tsutomu Uchino <hanya at apache.org>
Date:   Fri May 16 08:25:28 2014 +0000

    #i98216# extract boolean value for AutoFill value of ComboBox model

diff --git a/toolkit/source/awt/vclxwindows.cxx b/toolkit/source/awt/vclxwindows.cxx
index 26a132b..05311f3 100644
--- a/toolkit/source/awt/vclxwindows.cxx
+++ b/toolkit/source/awt/vclxwindows.cxx
@@ -4074,6 +4074,12 @@ void VCLXComboBox::setProperty( const ::rtl::OUString& PropertyName, const ::com
                 sal_Int16 n = sal_Int16();
                 if ( Value >>= n )
                      pComboBox->EnableAutocomplete( n != 0 );
+                 else
+                 {
+                    sal_Bool b = sal_Bool();
+                    if ( Value >>= b )
+                        pComboBox->EnableAutocomplete( b );
+                }
             }
             break;
             case BASEPROPERTY_STRINGITEMLIST:


More information about the Libreoffice-commits mailing list