summaryrefslogtreecommitdiff
path: root/accessibility/source/extended
diff options
context:
space:
mode:
authorArnaud Versini <arnaud.versini@gmail.com>2018-02-18 10:01:49 +0100
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-02-19 07:20:58 +0100
commit7d4584a18fac7f37ed0f7b3b26e6e1a9d65da26f (patch)
tree2385fe53a6669782fe7c78d00a7000855fbf447e /accessibility/source/extended
parent9ee96d942603ff45370558c55ff989700b64045e (diff)
accessibility: Small optimisation in AccessibleTabListBox
Change-Id: Idf351923a57cf608dd4945e3ce639ba8011ecdbb Reviewed-on: https://gerrit.libreoffice.org/49922 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/accessibletablistbox.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/accessibility/source/extended/accessibletablistbox.cxx b/accessibility/source/extended/accessibletablistbox.cxx
index 48d4b12ef05c..fb2116f74852 100644
--- a/accessibility/source/extended/accessibletablistbox.cxx
+++ b/accessibility/source/extended/accessibletablistbox.cxx
@@ -99,10 +99,10 @@ namespace accessibility
if (nChildIndex == 0)
{
//! so far the actual implementation object only supports column headers
- xRet = implGetFixedChild( ::svt::BBINDEX_COLUMNHEADERBAR );
+ xRet = implGetHeaderBar( ::svt::BBTYPE_COLUMNHEADERBAR );
}
else if (nChildIndex == 1)
- xRet = implGetFixedChild( ::svt::BBINDEX_TABLE );
+ xRet = implGetTable();
if ( !xRet.is() )
throw RuntimeException();