diff options
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: |