diff options
Diffstat (limited to 'accessibility/source/extended/AccessibleBrowseBoxTable.cxx')
-rw-r--r-- | accessibility/source/extended/AccessibleBrowseBoxTable.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/accessibility/source/extended/AccessibleBrowseBoxTable.cxx b/accessibility/source/extended/AccessibleBrowseBoxTable.cxx index 7046ed792507..83ab211b18f2 100644 --- a/accessibility/source/extended/AccessibleBrowseBoxTable.cxx +++ b/accessibility/source/extended/AccessibleBrowseBoxTable.cxx @@ -18,7 +18,7 @@ */ #include <extended/AccessibleBrowseBoxTable.hxx> -#include <toolkit/helper/convert.hxx> +#include <toolkit/helper/vclunohelper.hxx> #include <vcl/accessibletableprovider.hxx> #include <com/sun/star/lang/IndexOutOfBoundsException.hpp> @@ -77,7 +77,8 @@ AccessibleBrowseBoxTable::getAccessibleAtPoint( const awt::Point& rPoint ) Reference< XAccessible > xChild; sal_Int32 nRow = 0; sal_uInt16 nColumnPos = 0; - if( mpBrowseBox->ConvertPointToCellAddress( nRow, nColumnPos, VCLPoint( rPoint ) ) ) + if (mpBrowseBox->ConvertPointToCellAddress(nRow, nColumnPos, + VCLUnoHelper::ConvertToVCLPoint(rPoint))) xChild = mpBrowseBox->CreateAccessibleCell( nRow, nColumnPos ); return xChild; |