diff options
author | Arnaud Versini <Arnaud.Versini@libreoffice.org> | 2017-11-12 14:23:52 +0100 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-11-13 07:09:02 +0100 |
commit | 8d4a44d176fc7e80d6c5f13b1e73069967b9593b (patch) | |
tree | d84e75d33d6c2a157142450cb8fc3a0bacd6a55a /editeng | |
parent | 102acb3675fed4e4e61a98722e279b9d8bc18ad2 (diff) |
Remove OCommonAccessibleText::getText and getCharacterCount.
No need to create helper for those methods.
Change-Id: I0505fe8141b1bad852b7f30aeb69628fb6a90071
Reviewed-on: https://gerrit.libreoffice.org/44649
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'editeng')
-rw-r--r-- | editeng/source/accessibility/AccessibleEditableTextPara.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editeng/source/accessibility/AccessibleEditableTextPara.cxx b/editeng/source/accessibility/AccessibleEditableTextPara.cxx index b7931eef21c4..a423246e4069 100644 --- a/editeng/source/accessibility/AccessibleEditableTextPara.cxx +++ b/editeng/source/accessibility/AccessibleEditableTextPara.cxx @@ -1338,7 +1338,7 @@ namespace accessibility DBG_ASSERT(GetParagraphIndex() >= 0 && GetParagraphIndex() <= USHRT_MAX, "AccessibleEditableTextPara::getCharacterCount: index value overflow"); - return OCommonAccessibleText::getCharacterCount(); + return implGetText().getLength(); } sal_Int32 SAL_CALL AccessibleEditableTextPara::getIndexAtPoint( const awt::Point& rPoint ) |