diff options
author | Arnaud Versini <arnaud.versini@gmail.com> | 2018-03-18 20:25:25 +0100 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-03-25 12:57:21 +0200 |
commit | dd5df4ccb33048fa5fa8f85b2e6e69a6a225be57 (patch) | |
tree | 2fe1c11f77fe2d93e371cc3b15dd62c14e63c12d /include/comphelper | |
parent | db22599c8c5a4a8b553194c05fff65bd6d71ab40 (diff) |
accessibility: simplify OCommonAccessibleText
Change-Id: Ied5520179d15f0a854c16b14f5a5e6b84cef1300
Reviewed-on: https://gerrit.libreoffice.org/51514
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Arnaud Versini <arnaud.versini@libreoffice.org>
Diffstat (limited to 'include/comphelper')
-rw-r--r-- | include/comphelper/accessibletexthelper.hxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/comphelper/accessibletexthelper.hxx b/include/comphelper/accessibletexthelper.hxx index 0d8c2f0389b8..0f78e9084bde 100644 --- a/include/comphelper/accessibletexthelper.hxx +++ b/include/comphelper/accessibletexthelper.hxx @@ -54,13 +54,13 @@ namespace comphelper static bool implIsValidIndex( sal_Int32 nIndex, sal_Int32 nLength ); static bool implIsValidRange( sal_Int32 nStartIndex, sal_Int32 nEndIndex, sal_Int32 nLength ); static sal_Unicode implGetCharacter( const OUString& rText, sal_Int32 nIndex ); - static OUString implGetTextRange( const OUString& rTest, sal_Int32 nStartIndex, sal_Int32 nEndIndex ); + static OUString implGetTextRange( const OUString& rText, sal_Int32 nStartIndex, sal_Int32 nEndIndex ); virtual OUString implGetText() = 0; virtual css::lang::Locale implGetLocale() = 0; virtual void implGetSelection( sal_Int32& nStartIndex, sal_Int32& nEndIndex ) = 0; - void implGetGlyphBoundary( css::i18n::Boundary& rBoundary, sal_Int32 nIndex ); - bool implGetWordBoundary( css::i18n::Boundary& rBoundary, sal_Int32 nIndex ); - void implGetSentenceBoundary( css::i18n::Boundary& rBoundary, sal_Int32 nIndex ); + void implGetGlyphBoundary( const OUString& rText, css::i18n::Boundary& rBoundary, sal_Int32 nIndex ); + bool implGetWordBoundary( const OUString& rText, css::i18n::Boundary& rBoundary, sal_Int32 nIndex ); + void implGetSentenceBoundary( const OUString& rText, css::i18n::Boundary& rBoundary, sal_Int32 nIndex ); virtual void implGetParagraphBoundary( css::i18n::Boundary& rBoundary, sal_Int32 nIndex ); virtual void implGetLineBoundary( css::i18n::Boundary& rBoundary, sal_Int32 nIndex ); |