accessibility/source/extended/accessibletabbar.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit ad3f86880bd6f5a0800a2820177715dc88c13a3c
Author:     HakimOttey <hakimotteybusin...@gmail.com>
AuthorDate: Wed May 1 17:45:38 2024 -0400
Commit:     Michael Weghorn <m.wegh...@posteo.de>
CommitDate: Mon May 20 07:47:44 2024 +0200

    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.wegh...@posteo.de>

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() )

Reply via email to