diff options
author | Noel Power <noel.power@suse.com> | 2013-04-19 17:19:35 +0100 |
---|---|---|
committer | Noel Power <noel.power@suse.com> | 2013-05-09 14:11:15 +0100 |
commit | 4002ce1419b6ae986408bfe65f7a3068ca1332ab (patch) | |
tree | 05aecd660948cd9ec0d12b4c27e44a6e41013e0c /vbahelper/source | |
parent | 2743241bd299b87da21c7888b4339a77f1e5c44c (diff) |
Setting TEXT causes exception, don't do it
Change-Id: Idc5614a80e6e45d12f1323ffa9843c7fa7f9576e
Diffstat (limited to 'vbahelper/source')
-rw-r--r-- | vbahelper/source/msforms/vbalistbox.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/vbahelper/source/msforms/vbalistbox.cxx b/vbahelper/source/msforms/vbalistbox.cxx index 152598398b92..0f9c8b7b4a36 100644 --- a/vbahelper/source/msforms/vbalistbox.cxx +++ b/vbahelper/source/msforms/vbalistbox.cxx @@ -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(); |