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-07 09:56:22 +0100 |
commit | e6603c9d8b7d0cc0efbb916b5bbb00d562baacf5 (patch) | |
tree | ac45b0f4f5c3f48efc797b82f5603352436bafdc | |
parent | ada60d416c2d1ac62ee3e106eb69ba6a376531e8 (diff) |
Setting TEXT causes exception, don't do it
Change-Id: Idc5614a80e6e45d12f1323ffa9843c7fa7f9576e
-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(); |