diff options
author | Arnaud Versini <arnaud.versini@gmail.com> | 2018-03-03 19:18:05 +0100 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-03-13 10:00:59 +0100 |
commit | c409fd2e8829b00f027070f34a5b743019800c6e (patch) | |
tree | 2fff2b1d3b53525142a485684b81f0c1ba76f60a /accessibility/source/extended/AccessibleGridControlTableCell.cxx | |
parent | 775b12866059defdb7ae90f7bffe8720fdaf8340 (diff) |
accessibility: simplify getSelection when possible
Change-Id: I187716bca329da0aeae9fec9f48a45a9df386130
Reviewed-on: https://gerrit.libreoffice.org/50688
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'accessibility/source/extended/AccessibleGridControlTableCell.cxx')
-rw-r--r-- | accessibility/source/extended/AccessibleGridControlTableCell.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/accessibility/source/extended/AccessibleGridControlTableCell.cxx b/accessibility/source/extended/AccessibleGridControlTableCell.cxx index 39d76363408e..db605e334e62 100644 --- a/accessibility/source/extended/AccessibleGridControlTableCell.cxx +++ b/accessibility/source/extended/AccessibleGridControlTableCell.cxx @@ -253,19 +253,19 @@ namespace accessibility { SolarMutexGuard aSolarGuard; - return OCommonAccessibleText::getSelectedText( ); + return OUString(); } sal_Int32 SAL_CALL AccessibleGridControlTableCell::getSelectionStart( ) { SolarMutexGuard aSolarGuard; - return OCommonAccessibleText::getSelectionStart( ); + return 0; } sal_Int32 SAL_CALL AccessibleGridControlTableCell::getSelectionEnd( ) { SolarMutexGuard aSolarGuard; - return OCommonAccessibleText::getSelectionEnd( ); + return 0; } sal_Bool SAL_CALL AccessibleGridControlTableCell::setSelection( sal_Int32 nStartIndex, sal_Int32 nEndIndex ) { |