summaryrefslogtreecommitdiffstats
path: root/accessible/windows/ia2/ia2AccessibleComponent.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'accessible/windows/ia2/ia2AccessibleComponent.cpp')
-rw-r--r--accessible/windows/ia2/ia2AccessibleComponent.cpp12
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
}