diff options
author | Michael Weghorn <m.weghorn@posteo.de> | 2025-04-04 12:39:57 +0200 |
---|---|---|
committer | Michael Weghorn <m.weghorn@posteo.de> | 2025-04-04 14:46:49 +0200 |
commit | a28db0efd2941f53d4aefaedbcbba9d5dd2f2df6 (patch) | |
tree | a4174c7ea902cbb39660a94c668fb364706feaf3 /editeng/source | |
parent | e435dc6ca1a898f4e806127257c9acc627c080cc (diff) |
editeng a11y: Use usual 4 spaces to indent one level
... instead of 6
Change-Id: I27585734069f76d7d535c01760d0bd2085f51051
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/183707
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Diffstat (limited to 'editeng/source')
-rw-r--r-- | editeng/source/accessibility/AccessibleStaticTextBase.cxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/editeng/source/accessibility/AccessibleStaticTextBase.cxx b/editeng/source/accessibility/AccessibleStaticTextBase.cxx index 61206f79438c..837bfac740d9 100644 --- a/editeng/source/accessibility/AccessibleStaticTextBase.cxx +++ b/editeng/source/accessibility/AccessibleStaticTextBase.cxx @@ -625,14 +625,14 @@ css::accessibility::TextSegment SAL_CALL AccessibleStaticTextBase::getTextAtInde } else if ( AccessibleTextType::ATTRIBUTE_RUN == aTextType ) { - SvxAccessibleTextAdapter& rTextForwarder = GetParagraph( aPos.nIndex ).GetTextForwarder(); - sal_Int32 nStartIndex, nEndIndex; - if ( rTextForwarder.GetAttributeRun( nStartIndex, nEndIndex, aPos.nPara, aPos.nIndex, true ) ) - { - aResult.SegmentText = getTextRange( nStartIndex, nEndIndex ); - aResult.SegmentStart = nStartIndex; - aResult.SegmentEnd = nEndIndex; - } + SvxAccessibleTextAdapter& rTextForwarder = GetParagraph( aPos.nIndex ).GetTextForwarder(); + sal_Int32 nStartIndex, nEndIndex; + if ( rTextForwarder.GetAttributeRun( nStartIndex, nEndIndex, aPos.nPara, aPos.nIndex, true ) ) + { + aResult.SegmentText = getTextRange( nStartIndex, nEndIndex ); + aResult.SegmentStart = nStartIndex; + aResult.SegmentEnd = nEndIndex; + } } else { |