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/ia2AccessibleImage.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/ia2AccessibleImage.cpp')
-rw-r--r-- | accessible/windows/ia2/ia2AccessibleImage.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/accessible/windows/ia2/ia2AccessibleImage.cpp b/accessible/windows/ia2/ia2AccessibleImage.cpp index 989fde925..7dc7f765c 100644 --- a/accessible/windows/ia2/ia2AccessibleImage.cpp +++ b/accessible/windows/ia2/ia2AccessibleImage.cpp @@ -43,8 +43,6 @@ ia2AccessibleImage::QueryInterface(REFIID iid, void** ppv) STDMETHODIMP ia2AccessibleImage::get_description(BSTR* aDescription) { - A11Y_TRYBLOCK_BEGIN - if (!aDescription) return E_INVALIDARG; @@ -61,8 +59,6 @@ ia2AccessibleImage::get_description(BSTR* aDescription) *aDescription = ::SysAllocStringLen(description.get(), description.Length()); return *aDescription ? S_OK : E_OUTOFMEMORY; - - A11Y_TRYBLOCK_END } STDMETHODIMP @@ -70,8 +66,6 @@ ia2AccessibleImage::get_imagePosition(enum IA2CoordinateType aCoordType, long* aX, long* aY) { - A11Y_TRYBLOCK_BEGIN - if (!aX || !aY) return E_INVALIDARG; @@ -90,15 +84,11 @@ ia2AccessibleImage::get_imagePosition(enum IA2CoordinateType aCoordType, *aX = pos.x; *aY = pos.y; return S_OK; - - A11Y_TRYBLOCK_END } STDMETHODIMP ia2AccessibleImage::get_imageSize(long* aHeight, long* aWidth) { - A11Y_TRYBLOCK_BEGIN - if (!aHeight || !aWidth) return E_INVALIDARG; @@ -113,7 +103,5 @@ ia2AccessibleImage::get_imageSize(long* aHeight, long* aWidth) *aHeight = size.width; *aWidth = size.height; return S_OK; - - A11Y_TRYBLOCK_END } |