diff options
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 } |