diff options
Diffstat (limited to 'accessible/windows/ia2/ia2AccessibleTableCell.cpp')
-rw-r--r-- | accessible/windows/ia2/ia2AccessibleTableCell.cpp | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/accessible/windows/ia2/ia2AccessibleTableCell.cpp b/accessible/windows/ia2/ia2AccessibleTableCell.cpp index e625a7049..19cfc55da 100644 --- a/accessible/windows/ia2/ia2AccessibleTableCell.cpp +++ b/accessible/windows/ia2/ia2AccessibleTableCell.cpp @@ -46,8 +46,6 @@ ia2AccessibleTableCell::QueryInterface(REFIID iid, void** ppv) STDMETHODIMP ia2AccessibleTableCell::get_table(IUnknown** aTable) { - A11Y_TRYBLOCK_BEGIN - if (!aTable) return E_INVALIDARG; @@ -63,15 +61,11 @@ ia2AccessibleTableCell::get_table(IUnknown** aTable) *aTable = static_cast<IAccessible*>(wrap); (*aTable)->AddRef(); return S_OK; - - A11Y_TRYBLOCK_END } STDMETHODIMP ia2AccessibleTableCell::get_columnExtent(long* aSpan) { - A11Y_TRYBLOCK_BEGIN - if (!aSpan) return E_INVALIDARG; @@ -82,16 +76,12 @@ ia2AccessibleTableCell::get_columnExtent(long* aSpan) *aSpan = mTableCell->ColExtent(); return S_OK; - - A11Y_TRYBLOCK_END } STDMETHODIMP ia2AccessibleTableCell::get_columnHeaderCells(IUnknown*** aCellAccessibles, long* aNColumnHeaderCells) { - A11Y_TRYBLOCK_BEGIN - if (!aCellAccessibles || !aNColumnHeaderCells) return E_INVALIDARG; @@ -118,15 +108,11 @@ ia2AccessibleTableCell::get_columnHeaderCells(IUnknown*** aCellAccessibles, } return S_OK; - - A11Y_TRYBLOCK_END } STDMETHODIMP ia2AccessibleTableCell::get_columnIndex(long* aColIdx) { - A11Y_TRYBLOCK_BEGIN - if (!aColIdx) return E_INVALIDARG; @@ -136,15 +122,11 @@ ia2AccessibleTableCell::get_columnIndex(long* aColIdx) *aColIdx = mTableCell->ColIdx(); return S_OK; - - A11Y_TRYBLOCK_END } STDMETHODIMP ia2AccessibleTableCell::get_rowExtent(long* aSpan) { - A11Y_TRYBLOCK_BEGIN - if (!aSpan) return E_INVALIDARG; @@ -154,16 +136,12 @@ ia2AccessibleTableCell::get_rowExtent(long* aSpan) *aSpan = mTableCell->RowExtent(); return S_OK; - - A11Y_TRYBLOCK_END } STDMETHODIMP ia2AccessibleTableCell::get_rowHeaderCells(IUnknown*** aCellAccessibles, long* aNRowHeaderCells) { - A11Y_TRYBLOCK_BEGIN - if (!aCellAccessibles || !aNRowHeaderCells) return E_INVALIDARG; @@ -189,15 +167,11 @@ ia2AccessibleTableCell::get_rowHeaderCells(IUnknown*** aCellAccessibles, } return S_OK; - - A11Y_TRYBLOCK_END } STDMETHODIMP ia2AccessibleTableCell::get_rowIndex(long* aRowIdx) { - A11Y_TRYBLOCK_BEGIN - if (!aRowIdx) return E_INVALIDARG; @@ -207,8 +181,6 @@ ia2AccessibleTableCell::get_rowIndex(long* aRowIdx) *aRowIdx = mTableCell->RowIdx(); return S_OK; - - A11Y_TRYBLOCK_END } STDMETHODIMP @@ -217,8 +189,6 @@ ia2AccessibleTableCell::get_rowColumnExtents(long* aRowIdx, long* aColIdx, long* aColExtents, boolean* aIsSelected) { - A11Y_TRYBLOCK_BEGIN - if (!aRowIdx || !aColIdx || !aRowExtents || !aColExtents || !aIsSelected) return E_INVALIDARG; @@ -234,15 +204,11 @@ ia2AccessibleTableCell::get_rowColumnExtents(long* aRowIdx, long* aColIdx, *aIsSelected = mTableCell->Selected(); return S_OK; - - A11Y_TRYBLOCK_END } STDMETHODIMP ia2AccessibleTableCell::get_isSelected(boolean* aIsSelected) { - A11Y_TRYBLOCK_BEGIN - if (!aIsSelected) return E_INVALIDARG; @@ -252,6 +218,4 @@ ia2AccessibleTableCell::get_isSelected(boolean* aIsSelected) *aIsSelected = mTableCell->Selected(); return S_OK; - - A11Y_TRYBLOCK_END } |