Kaydet (Commit) ae08fe43 authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#1212683 Logically dead code

Change-Id: I5830c17a98c7dc193abdb5854c63aaba59e5e014
üst 783859e8
......@@ -3508,8 +3508,6 @@ sal_Int32 SAL_CALL SwAccessibleParagraph::addSelection( sal_Int32, sal_Int32 sta
}
bool bRet = false;
// get cursor shell
SwCrsrShell* pCrsrShell = GetCrsrShell();
if( pCrsrShell != NULL )
......@@ -3520,13 +3518,10 @@ sal_Int32 SAL_CALL SwAccessibleParagraph::addSelection( sal_Int32, sal_Int32 sta
aPaM->SetMark();
aPaM->GetPoint()->nContent = GetPortionData().GetModelPosition(startOffset);
aPaM->GetMark()->nContent = GetPortionData().GetModelPosition(endOffset);
//pCrsrShell->ShowCrsr();
pCrsrShell->EndAction();
// set PaM at cursor shell
//bRet = Select( aPaM );
}
return bRet ? 1 : 0;
return 0;
}
/*accessibility::*/TextSegment SAL_CALL
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment