Kaydet (Commit) 4002ce14 authored tarafından Noel Power's avatar Noel Power

Setting TEXT causes exception, don't do it

Change-Id: Idc5614a80e6e45d12f1323ffa9843c7fa7f9576e
üst 2743241b
......@@ -104,7 +104,6 @@ ScVbaListBox::setValue( const uno::Any& _value ) throw (uno::RuntimeException)
m_xProps->setPropertyValue( SELECTEDITEMS, uno::makeAny( nSelectedIndices ) );
if ( nSelectedIndices != nOldSelectedIndices )
fireClickEvent();
m_xProps->setPropertyValue( TEXT, uno::makeAny( sValue ) );
}
OUString SAL_CALL
......@@ -141,7 +140,7 @@ ScVbaListBox::setMultiSelect( sal_Int32 _multiselect ) throw (css::uno::RuntimeE
bBoolVal = sal_True;
break;
case msforms::fmMultiSelect::fmMultiSelectSingle:
bBoolVal = sal_True;
bBoolVal = sal_False;
break;
default:
throw lang::IllegalArgumentException();
......
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