diff options
author | Arkadiy Illarionov <qarkai@gmail.com> | 2019-04-21 15:12:31 +0300 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-04-21 16:24:31 +0200 |
commit | e15d8269f591f36e6933cd01b9c79ed81c1deeb5 (patch) | |
tree | 40911dffb1d3648a7ff020279e8273bb89bf8684 | |
parent | aae39e5dbfde76726e3ad6a2e99874490515da58 (diff) |
Exit from search loop when condition is satisfied
Change-Id: Iff5299a86559a88bff9256e55e75a508e3713d28
Reviewed-on: https://gerrit.libreoffice.org/71037
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
-rw-r--r-- | accessibility/source/extended/AccessibleGridControlTable.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/accessibility/source/extended/AccessibleGridControlTable.cxx b/accessibility/source/extended/AccessibleGridControlTable.cxx index 75c21fb55530..e57bf58bf6d4 100644 --- a/accessibility/source/extended/AccessibleGridControlTable.cxx +++ b/accessibility/source/extended/AccessibleGridControlTable.cxx @@ -172,7 +172,7 @@ sal_Bool SAL_CALL AccessibleGridControlTable::isAccessibleRowSelected( sal_Int32 if(nRow == selectedRows[i]) { bSelected = true; - continue; + break; } } return bSelected; |