[Libreoffice-commits] core.git: accessibility/source
Arkadiy Illarionov (via logerrit)
logerrit at kemper.freedesktop.org
Sun Apr 21 14:25:42 UTC 2019
accessibility/source/extended/AccessibleGridControlTable.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit e15d8269f591f36e6933cd01b9c79ed81c1deeb5
Author: Arkadiy Illarionov <qarkai at gmail.com>
AuthorDate: Sun Apr 21 15:12:31 2019 +0300
Commit: Noel Grandin <noel.grandin at collabora.co.uk>
CommitDate: Sun Apr 21 16:24:31 2019 +0200
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 at collabora.co.uk>
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;
More information about the Libreoffice-commits
mailing list