diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-03-29 14:11:30 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-03-30 06:26:26 +0000 |
commit | 90305526ee48c855f9a2b3b4d730ea0bfb079119 (patch) | |
tree | 629f00210bb52847ef8aae9f14bf81143b5c489b /accessibility/source/extended | |
parent | a34b33d2b900d3d1ea1ac806bc584846dc9d3fbe (diff) |
loplugin:unusedenumconstants
Change-Id: I628a0114e56ec25926bd08d159c61cfecb719a1c
Reviewed-on: https://gerrit.libreoffice.org/35854
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'accessibility/source/extended')
-rw-r--r-- | accessibility/source/extended/AccessibleGridControl.cxx | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/accessibility/source/extended/AccessibleGridControl.cxx b/accessibility/source/extended/AccessibleGridControl.cxx index df348e911417..07d108592ff6 100644 --- a/accessibility/source/extended/AccessibleGridControl.cxx +++ b/accessibility/source/extended/AccessibleGridControl.cxx @@ -266,13 +266,16 @@ AccessibleGridControl::implGetFixedChild( sal_Int32 nChildIndex ) css::uno::Reference< css::accessibility::XAccessible > xRet; switch( nChildIndex ) { - case TCINDEX_COLUMNHEADERBAR: + /** Child index of the column header bar (first row). */ + case 0: xRet = implGetHeaderBar( TCTYPE_COLUMNHEADERBAR ); break; - case TCINDEX_ROWHEADERBAR: + /** Child index of the row header bar ("handle column"). */ + case 1: xRet = implGetHeaderBar( TCTYPE_ROWHEADERBAR ); break; - case TCINDEX_TABLE: + /** Child index of the data table. */ + case 2: xRet = implGetTable(); break; } |