diff options
author | Tsutomu Uchino <hanya@apache.org> | 2014-05-16 08:25:28 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-05-16 11:54:08 +0100 |
commit | 5350520ec8da250f57dde664e95229c0e4d5a2ab (patch) | |
tree | 1bd58acb833258ff336ec56bc0759af354f09589 /toolkit | |
parent | ca52e5ff2c98268ad1965d43746d3c0f9a53fa79 (diff) |
Resolves: #i98216# extract boolean value for AutoFill value of ComboBox model
(cherry picked from commit 213aafbf006a5099e951f65a472e4f8fa66256a4)
Change-Id: I862abc31b69b98f0ec766ca260fdc063d14a2ee4
Diffstat (limited to 'toolkit')
-rw-r--r-- | toolkit/source/awt/vclxwindows.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/toolkit/source/awt/vclxwindows.cxx b/toolkit/source/awt/vclxwindows.cxx index 78637d42adcd..62ec58926e59 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: |