diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2020-11-25 11:16:36 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2020-11-25 14:07:44 +0100 |
commit | 69372bf111c0a85e754d72248bcd22b455f11938 (patch) | |
tree | 637204674c0fba737fb5e33716d32866e023fbca /winaccessibility/source | |
parent | 9e0de138a5afaa7132ee535a15741effc983d2b0 (diff) |
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 <sbergman@redhat.com>
Diffstat (limited to 'winaccessibility/source')
-rw-r--r-- | winaccessibility/source/UAccCOM/AccActionBase.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
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)); |