Kaydet (Commit) 5350520e authored tarafından Tsutomu Uchino's avatar Tsutomu Uchino Kaydeden (comit) Caolán McNamara

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

(cherry picked from commit 213aafbf)

Change-Id: I862abc31b69b98f0ec766ca260fdc063d14a2ee4
üst ca52e5ff
...@@ -4366,6 +4366,12 @@ void VCLXComboBox::setProperty( const OUString& PropertyName, const ::com::sun:: ...@@ -4366,6 +4366,12 @@ void VCLXComboBox::setProperty( const OUString& PropertyName, const ::com::sun::
sal_Int16 n = sal_Int16(); sal_Int16 n = sal_Int16();
if ( Value >>= n ) if ( Value >>= n )
pComboBox->EnableAutocomplete( n != 0 ); pComboBox->EnableAutocomplete( n != 0 );
else
{
sal_Bool b = sal_Bool();
if ( Value >>= b )
pComboBox->EnableAutocomplete( b );
}
} }
break; break;
case BASEPROPERTY_STRINGITEMLIST: case BASEPROPERTY_STRINGITEMLIST:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment