diff options
author | wolfbeast <mcwerewolf@gmail.com> | 2018-02-19 13:46:04 +0100 |
---|---|---|
committer | wolfbeast <mcwerewolf@gmail.com> | 2018-02-19 13:46:04 +0100 |
commit | 616475a0c1109460fe42045ca3380f4d8f0752cd (patch) | |
tree | f28d81584e97fa7b988cef20969cc6046a00c62a /accessible/windows/ia2/ia2AccessibleComponent.cpp | |
parent | a14048f0a23b0e50576ab3b5e87aebd616b35d43 (diff) | |
download | UXP-616475a0c1109460fe42045ca3380f4d8f0752cd.tar UXP-616475a0c1109460fe42045ca3380f4d8f0752cd.tar.gz UXP-616475a0c1109460fe42045ca3380f4d8f0752cd.tar.lz UXP-616475a0c1109460fe42045ca3380f4d8f0752cd.tar.xz UXP-616475a0c1109460fe42045ca3380f4d8f0752cd.zip |
Remove SEH try blocks from a11y code.
Diffstat (limited to 'accessible/windows/ia2/ia2AccessibleComponent.cpp')
-rw-r--r-- | accessible/windows/ia2/ia2AccessibleComponent.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/accessible/windows/ia2/ia2AccessibleComponent.cpp b/accessible/windows/ia2/ia2AccessibleComponent.cpp index f32c09d1e..2c9cd0ab4 100644 --- a/accessible/windows/ia2/ia2AccessibleComponent.cpp +++ b/accessible/windows/ia2/ia2AccessibleComponent.cpp @@ -41,8 +41,6 @@ ia2AccessibleComponent::QueryInterface(REFIID iid, void** ppv) STDMETHODIMP ia2AccessibleComponent::get_locationInParent(long* aX, long* aY) { - A11Y_TRYBLOCK_BEGIN - if (!aX || !aY) return E_INVALIDARG; @@ -75,15 +73,11 @@ ia2AccessibleComponent::get_locationInParent(long* aX, long* aY) *aX = rect.x - parentRect.x; *aY = rect.y - parentRect.y; return S_OK; - - A11Y_TRYBLOCK_END } STDMETHODIMP ia2AccessibleComponent::get_foreground(IA2Color* aForeground) { - A11Y_TRYBLOCK_BEGIN - if (!aForeground) return E_INVALIDARG; @@ -98,15 +92,11 @@ ia2AccessibleComponent::get_foreground(IA2Color* aForeground) *aForeground = frame->StyleColor()->mColor; return S_OK; - - A11Y_TRYBLOCK_END } STDMETHODIMP ia2AccessibleComponent::get_background(IA2Color* aBackground) { - A11Y_TRYBLOCK_BEGIN - if (!aBackground) return E_INVALIDARG; @@ -121,7 +111,5 @@ ia2AccessibleComponent::get_background(IA2Color* aBackground) *aBackground = frame->StyleBackground()->mBackgroundColor; return S_OK; - - A11Y_TRYBLOCK_END } |