diff options
Diffstat (limited to 'sw/source/core/access/accpara.cxx')
-rw-r--r-- | sw/source/core/access/accpara.cxx | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/sw/source/core/access/accpara.cxx b/sw/source/core/access/accpara.cxx index aa72e262908d..54e9c9f0a774 100644 --- a/sw/source/core/access/accpara.cxx +++ b/sw/source/core/access/accpara.cxx @@ -963,7 +963,7 @@ sal_Bool SwAccessibleParagraph::GetTextBoundary( { nLast += pWrongList->Len( nWrongPos ); } - // + const bool bIn = pWrongList->InWrongWord(nBegin, nLen); // && !pTxtNode->IsSymbol(nBegin) ) if(bIn) { @@ -1263,7 +1263,6 @@ uno::Sequence< OUString > getSupplementalAttributeNames() return *pNames; } - // XInterface uno::Any SwAccessibleParagraph::queryInterface( const uno::Type& rType ) @@ -2561,7 +2560,6 @@ sal_Int32 SwAccessibleParagraph::getIndexAtPoint( const awt::Point& rPoint ) { SolarMutexGuard aGuard; - CHECK_FOR_DEFUNC_THIS( XAccessibleText, *this ); // construct SwPosition (where GetCrsrOfst() will put the result into) @@ -2860,7 +2858,6 @@ OUString SwAccessibleParagraph::getTextRange( if( nIndex == rText.getLength() ) return aResult; - // get first word, then skip to next word i18n::Boundary aBound; GetTextBoundary( aBound, rText, nIndex, nTextType ); @@ -3275,7 +3272,6 @@ uno::Reference< XAccessibleHyperlink > SAL_CALL sal_Bool bH = sal_False; sal_Bool bA = sal_False; - if( pHt ) nHStt = *pHt->GetStart(); if( nARIndex < nARCount ) @@ -3903,7 +3899,6 @@ sal_Bool SwAccessibleParagraph::GetSelectionAtIndex( { if(nIndex < 0) return sal_False; - sal_Bool bRet = sal_False; nStart = -1; nEnd = -1; @@ -4061,7 +4056,6 @@ sal_Int16 SAL_CALL SwAccessibleParagraph::getAccessibleRole (void) throw (::com: } } - //Get the real heading level, Heading1 ~ Heading10 sal_Int32 SwAccessibleParagraph::GetRealHeadingLevel() { |