Kaydet (Commit) df5cdeb4 authored tarafından Michael Stahl's avatar Michael Stahl

fix previous STL conversion commit:

SvxIconChoiceCtrl_Impl::GetColumn: pColumns is now a map, so don't test
the index against the size, but check the index only via find.

Change-Id: I9451000f8c2fe7a7b0c745f3b8c8d61e35879b43
üst 8d89d1a4
......@@ -3741,7 +3741,7 @@ void SvxIconChoiceCtrl_Impl::SetColumn( sal_uInt16 nIndex, const SvxIconChoiceCt
const SvxIconChoiceCtrlColumnInfo* SvxIconChoiceCtrl_Impl::GetColumn( sal_uInt16 nIndex ) const
{
if( !pColumns || nIndex >= pColumns->size() )
if (!pColumns)
return 0;
SvxIconChoiceCtrlColumnInfoMap::const_iterator it = pColumns->find( nIndex );
if( it == pColumns->end() )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment