diff options
author | janekptacijarabaci <janekptacijarabaci@seznam.cz> | 2018-03-30 09:44:21 +0200 |
---|---|---|
committer | janekptacijarabaci <janekptacijarabaci@seznam.cz> | 2018-03-30 09:44:21 +0200 |
commit | 2f5aa61c7fb60b42bb0b2d6a6f9dbedc77a6a174 (patch) | |
tree | 24b082c1bfb5777f1770c82a534bf765160bc1b8 /accessible/windows/ia2/ia2AccessibleRelation.cpp | |
parent | bdadfa40000286074dbc9be1bbd2c517a7fbf957 (diff) | |
parent | 688e98bc9bca36ea23162419dfabbd8f4ac5dba3 (diff) | |
download | aura-central-2f5aa61c7fb60b42bb0b2d6a6f9dbedc77a6a174.tar.gz |
Merge branch 'master' of https://github.com/MoonchildProductions/UXP into html_input_datetime_1
Diffstat (limited to 'accessible/windows/ia2/ia2AccessibleRelation.cpp')
-rw-r--r-- | accessible/windows/ia2/ia2AccessibleRelation.cpp | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/accessible/windows/ia2/ia2AccessibleRelation.cpp b/accessible/windows/ia2/ia2AccessibleRelation.cpp index cc6fd83c8..67435ee52 100644 --- a/accessible/windows/ia2/ia2AccessibleRelation.cpp +++ b/accessible/windows/ia2/ia2AccessibleRelation.cpp @@ -34,8 +34,6 @@ IMPL_IUNKNOWN_QUERY_TAIL STDMETHODIMP ia2AccessibleRelation::get_relationType(BSTR* aRelationType) { - A11Y_TRYBLOCK_BEGIN - if (!aRelationType) return E_INVALIDARG; @@ -51,43 +49,31 @@ ia2AccessibleRelation::get_relationType(BSTR* aRelationType) } return *aRelationType ? S_OK : E_OUTOFMEMORY; - - A11Y_TRYBLOCK_END } STDMETHODIMP ia2AccessibleRelation::get_localizedRelationType(BSTR *aLocalizedRelationType) { - A11Y_TRYBLOCK_BEGIN - if (!aLocalizedRelationType) return E_INVALIDARG; *aLocalizedRelationType = nullptr; return E_NOTIMPL; - - A11Y_TRYBLOCK_END } STDMETHODIMP ia2AccessibleRelation::get_nTargets(long *aNTargets) { - A11Y_TRYBLOCK_BEGIN - if (!aNTargets) return E_INVALIDARG; *aNTargets = mTargets.Length(); return S_OK; - - A11Y_TRYBLOCK_END } STDMETHODIMP ia2AccessibleRelation::get_target(long aTargetIndex, IUnknown **aTarget) { - A11Y_TRYBLOCK_BEGIN - if (aTargetIndex < 0 || (uint32_t)aTargetIndex >= mTargets.Length() || !aTarget) return E_INVALIDARG; @@ -97,16 +83,12 @@ ia2AccessibleRelation::get_target(long aTargetIndex, IUnknown **aTarget) (*aTarget)->AddRef(); return S_OK; - - A11Y_TRYBLOCK_END } STDMETHODIMP ia2AccessibleRelation::get_targets(long aMaxTargets, IUnknown **aTargets, long *aNTargets) { - A11Y_TRYBLOCK_BEGIN - if (!aNTargets || !aTargets) return E_INVALIDARG; @@ -120,6 +102,4 @@ ia2AccessibleRelation::get_targets(long aMaxTargets, IUnknown **aTargets, *aNTargets = maxTargets; return S_OK; - - A11Y_TRYBLOCK_END } |