| commit | 72ef986133be94fd872ceaef57f3e0ffd7a538d8 | [log] |
|---|---|---|
| author | Michael Weghorn <m.weghorn@posteo.de> | Mon Jul 01 12:05:27 2024 +0200 |
| committer | Michael Weghorn <m.weghorn@posteo.de> | Tue Jul 02 09:58:06 2024 +0200 |
| tree | 6758cccbd503ad000bc1d75263856868fff227cf | |
| parent | 99d45ab7275af130485e52f71abaf7f72fd1239a [diff] |
tdf#161853 vcl: Use range-based for Change-Id: I69824a42b74071678c2c8f102fff78453e1718de Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169796 Reviewed-by: Michael Weghorn <m.weghorn@posteo.de> Tested-by: Jenkins
diff --git a/vcl/source/control/imivctl1.cxx b/vcl/source/control/imivctl1.cxx index 58236ff..bb811e1 100644 --- a/vcl/source/control/imivctl1.cxx +++ b/vcl/source/control/imivctl1.cxx
@@ -2372,10 +2372,8 @@ void SvxIconChoiceCtrl_Impl::SelectRange( bool SvxIconChoiceCtrl_Impl::IsOver(const std::vector<tools::Rectangle>& rRects, const tools::Rectangle& rBoundRect) { const sal_uInt16 nCount = rRects.size(); for( sal_uInt16 nCur = 0; nCur < nCount; nCur++ ) for (const tools::Rectangle& rRect : rRects) { const tools::Rectangle& rRect = rRects[ nCur ]; if( rBoundRect.Overlaps( rRect )) return true; }