diff options
Diffstat (limited to 'vbahelper/source/msforms/vbalistbox.cxx')
-rw-r--r-- | vbahelper/source/msforms/vbalistbox.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vbahelper/source/msforms/vbalistbox.cxx b/vbahelper/source/msforms/vbalistbox.cxx index 9dcef8a77225..cfa9e54a6134 100644 --- a/vbahelper/source/msforms/vbalistbox.cxx +++ b/vbahelper/source/msforms/vbalistbox.cxx @@ -227,7 +227,7 @@ ScVbaListBox::getValueEvent() uno::Sequence< sal_Int16 > nList; m_xProps->getPropertyValue( "SelectedItems" ) >>= nList; sal_Int32 nIndex = m_nIndex; - bool bRet = std::find(nList.begin(), nList.end(), nIndex) != nList.end(); + bool bRet = std::find(std::cbegin(nList), std::cend(nList), nIndex) != std::cend(nList); return uno::makeAny( bRet ); } |