summaryrefslogtreecommitdiff
path: root/vbahelper/source/msforms/vbalistbox.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vbahelper/source/msforms/vbalistbox.cxx')
-rw-r--r--vbahelper/source/msforms/vbalistbox.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vbahelper/source/msforms/vbalistbox.cxx b/vbahelper/source/msforms/vbalistbox.cxx
index da94a1097fe4..58e8d3acbe28 100644
--- a/vbahelper/source/msforms/vbalistbox.cxx
+++ b/vbahelper/source/msforms/vbalistbox.cxx
@@ -83,7 +83,7 @@ ScVbaListBox::setValue( const uno::Any& _value )
sal_Int16 i = 0;
for( i = 0; i < nLength; i++ )
{
- if( sList[i].equals( sValue ) )
+ if( sList[i] == sValue )
{
nValue = i;
break;