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

Tsutomu Uchino hanya at apache.org
Fri May 16 03:54:38 PDT 2014


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

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

    Resolves: #i98216# extract boolean value for AutoFill value of ComboBox model
    
    (cherry picked from commit 213aafbf006a5099e951f65a472e4f8fa66256a4)
    
    Change-Id: I862abc31b69b98f0ec766ca260fdc063d14a2ee4

diff --git a/toolkit/source/awt/vclxwindows.cxx b/toolkit/source/awt/vclxwindows.cxx
index 78637d4..62ec589 100644
--- a/toolkit/source/awt/vclxwindows.cxx
+++ b/toolkit/source/awt/vclxwindows.cxx
@@ -4366,6 +4366,12 @@ void VCLXComboBox::setProperty( const OUString& PropertyName, const ::com::sun::
                 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