winaccessibility/source/UAccCOM/AccActionBase.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit 69372bf111c0a85e754d72248bcd22b455f11938 Author: Stephan Bergmann <sberg...@redhat.com> AuthorDate: Wed Nov 25 11:16:36 2020 +0100 Commit: Stephan Bergmann <sberg...@redhat.com> CommitDate: Wed Nov 25 14:07:44 2020 +0100 UNOIDL long vs. C++ sal_Int32 confustion Change-Id: I55ed2fd4646a78ac4211ce54bed36c39710408f5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/106579 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sberg...@redhat.com> diff --git a/winaccessibility/source/UAccCOM/AccActionBase.cxx b/winaccessibility/source/UAccCOM/AccActionBase.cxx index e3a93ecedf84..c75e0d423c2c 100644 --- a/winaccessibility/source/UAccCOM/AccActionBase.cxx +++ b/winaccessibility/source/UAccCOM/AccActionBase.cxx @@ -166,7 +166,7 @@ COM_DECLSPEC_NOTHROW STDMETHODIMP CAccActionBase::get_keyBinding( if( !binding.is() ) return E_FAIL; - long nCount = binding->getAccessibleKeyBindingCount(); + sal_Int32 nCount = binding->getAccessibleKeyBindingCount(); *keyBinding = static_cast<BSTR*>(::CoTaskMemAlloc(nCount*sizeof(BSTR))); @@ -174,7 +174,7 @@ COM_DECLSPEC_NOTHROW STDMETHODIMP CAccActionBase::get_keyBinding( if(*keyBinding == nullptr) return E_FAIL; - for( int index = 0;index < nCount;index++ ) + for( sal_Int32 index = 0;index < nCount;index++ ) { auto const wString = comphelper::GetkeyBindingStrByXkeyBinding( binding->getAccessibleKeyBinding(index)); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits