diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2022-09-17 12:49:44 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2022-09-17 14:33:32 +0200 |
commit | 61576dbeda71add6bd36da628bd3b626aa823a77 (patch) | |
tree | 44e92e87df22cabeb8226f53e827543290e7119c /winaccessibility | |
parent | 9bed2b595688e73a72688852ec5d949d59fb7c2a (diff) |
loplugin:loopvartoosmall (clang-cl)
Change-Id: I8925e28d46f1ed983581b539cfbe6a01c034e0ce
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/140098
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'winaccessibility')
-rw-r--r-- | winaccessibility/source/UAccCOM/AccTable.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/winaccessibility/source/UAccCOM/AccTable.cxx b/winaccessibility/source/UAccCOM/AccTable.cxx index 16eea5bb533d..472f0d8f23ca 100644 --- a/winaccessibility/source/UAccCOM/AccTable.cxx +++ b/winaccessibility/source/UAccCOM/AccTable.cxx @@ -1040,7 +1040,7 @@ COM_DECLSPEC_NOTHROW STDMETHODIMP CAccTable::get_selectedChildren(long, long **c *nChildren = nChildCount; *children = static_cast<long*>(CoTaskMemAlloc(nChildCount * sizeof(long))); - for( long i = 0; i< nChildCount; i++) + for( sal_Int64 i = 0; i< nChildCount; i++) { Reference<XAccessible> pRAcc = pRSelection->getSelectedAccessibleChild(i); if(pRAcc.is()) @@ -1102,7 +1102,7 @@ COM_DECLSPEC_NOTHROW STDMETHODIMP CAccTable::get_selectedCells(IUnknown * * * ce *cells = static_cast<IUnknown**>(CoTaskMemAlloc(nSelected * sizeof(IUnknown*))); - for (long i = 0; i < nSelected; i++) + for (sal_Int64 i = 0; i < nSelected; i++) { Reference<XAccessible> xAcc = xSelection->getSelectedAccessibleChild(i); assert(xAcc.is()); |