summaryrefslogtreecommitdiff
path: root/accessibility
diff options
context:
space:
mode:
authorHakimOttey <hakimotteybusiness@gmail.com>2024-05-01 17:45:38 -0400
committerMichael Weghorn <m.weghorn@posteo.de>2024-05-20 07:47:44 +0200
commitad3f86880bd6f5a0800a2820177715dc88c13a3c (patch)
treead936c5e8e3cb36b7d9012ecac1ee1a53260aba6 /accessibility
parentd0702a3f17c1fbd1b8ffb9ca0b275943e1a1f442 (diff)
Change for loop to have getAccessibleChildCount in accessibletabbar
Change-Id: Ic020b1cd36abe2c568a119dfd400c718dc9de452 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166989 Tested-by: Jenkins Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Diffstat (limited to 'accessibility')
-rw-r--r--accessibility/source/extended/accessibletabbar.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/accessibility/source/extended/accessibletabbar.cxx b/accessibility/source/extended/accessibletabbar.cxx
index 711d2a7b8c5c..beae5dd61331 100644
--- a/accessibility/source/extended/accessibletabbar.cxx
+++ b/accessibility/source/extended/accessibletabbar.cxx
@@ -358,7 +358,7 @@ namespace accessibility
OExternalLockGuard aGuard( this );
Reference< XAccessible > xChild;
- for ( size_t i = 0; i < m_aAccessibleChildren.size(); ++i )
+ for( sal_Int64 i = 0; i < getAccessibleChildCount(); ++i )
{
Reference< XAccessible > xAcc = getAccessibleChild( i );
if ( xAcc.is() )