diff options
author | Norbert Thiebaud <nthiebaud@gmail.com> | 2011-10-05 13:09:10 -0500 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2011-10-05 18:51:35 -0500 |
commit | ce45b2086fe422a4ae48ea0d96d0cc6286022015 (patch) | |
tree | 8790317b4ca94b765bcc89becfb60bc97133910f | |
parent | 0f104e0b4ecf0431e7e9a30751104a5d256cf444 (diff) |
accfixes2: GetText for bullet changed
-rw-r--r-- | editeng/source/uno/unoedprx.cxx | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/editeng/source/uno/unoedprx.cxx b/editeng/source/uno/unoedprx.cxx index 4bdcf1d3217b..bfc60ffe1eea 100644 --- a/editeng/source/uno/unoedprx.cxx +++ b/editeng/source/uno/unoedprx.cxx @@ -517,21 +517,6 @@ String SvxAccessibleTextAdapter::GetText( const ESelection& rSel ) const EBulletInfo aBulletInfo1 = GetBulletInfo( static_cast< sal_uInt16 >(aStartIndex.GetParagraph()) ); EBulletInfo aBulletInfo2 = GetBulletInfo( static_cast< sal_uInt16 >(aEndIndex.GetParagraph()) ); - if( aStartIndex.InBullet() ) - { - // prepend leading bullet - String sBullet = aBulletInfo1.aText; - - DBG_ASSERT(aStartIndex.GetBulletOffset() >= 0 && - aStartIndex.GetBulletOffset() <= USHRT_MAX, - "SvxAccessibleTextIndex::GetText: index value overflow"); - - sBullet.Erase(0, static_cast< sal_uInt16 > (aStartIndex.GetBulletOffset()) ); - - sBullet += sStr; - sStr = sBullet; - } - if( aEndIndex.InBullet() ) { // append trailing bullet |