summaryrefslogtreecommitdiff
path: root/vbahelper/source
diff options
context:
space:
mode:
authorNoel Power <noel.power@suse.com>2013-04-19 17:19:35 +0100
committerNoel Power <noel.power@suse.com>2013-05-09 14:11:15 +0100
commit4002ce1419b6ae986408bfe65f7a3068ca1332ab (patch)
tree05aecd660948cd9ec0d12b4c27e44a6e41013e0c /vbahelper/source
parent2743241bd299b87da21c7888b4339a77f1e5c44c (diff)
Setting TEXT causes exception, don't do it
Change-Id: Idc5614a80e6e45d12f1323ffa9843c7fa7f9576e
Diffstat (limited to 'vbahelper/source')
-rw-r--r--vbahelper/source/msforms/vbalistbox.cxx3
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();