From ce45b2086fe422a4ae48ea0d96d0cc6286022015 Mon Sep 17 00:00:00 2001 From: Norbert Thiebaud Date: Wed, 5 Oct 2011 13:09:10 -0500 Subject: accfixes2: GetText for bullet changed --- editeng/source/uno/unoedprx.cxx | 15 --------------- 1 file changed, 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 -- cgit