WaE in dbgutil mode
This commit is contained in:
parent
ac7c1efc2b
commit
2894fdcfd3
1 changed files with 4 additions and 4 deletions
|
@ -3817,10 +3817,10 @@ EditPaM ImpEditEngine::GetPaM( ParaPortion* pPortion, Point aDocPos, sal_Bool bS
|
|||
|
||||
if ( !pLine ) // may happen only in the range of SA!
|
||||
{
|
||||
#ifdef DBG_UTIL
|
||||
const SvxULSpaceItem& rULSpace =(const SvxULSpaceItem&)pPortion->GetNode()->GetContentAttribs().GetItem( EE_PARA_ULSPACE );
|
||||
OSL_ENSURE( nY+GetYValue( rULSpace.GetLower() ) >= aDocPos.Y() , "Index in no line, GetPaM ?" );
|
||||
#endif
|
||||
#if OSL_DEBUG_LEVEL > 0
|
||||
const SvxULSpaceItem& rULSpace =(const SvxULSpaceItem&)pPortion->GetNode()->GetContentAttribs().GetItem( EE_PARA_ULSPACE );
|
||||
OSL_ENSURE( nY+GetYValue( rULSpace.GetLower() ) >= aDocPos.Y() , "Index in no line, GetPaM ?" );
|
||||
#endif
|
||||
aPaM.SetIndex( pPortion->GetNode()->Len() );
|
||||
return aPaM;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue