Lines Matching refs:pOther

388         SwTxtAttr * const pOther = GetEnd(i);  in TryInsertNesting()  local
390 if (pOther->IsNesting()) in TryInsertNesting()
392 const sal_uInt16 nOtherWhich( pOther->Which() ); in TryInsertNesting()
393 const xub_StrLen nOtherStart( *(pOther)->GetStart() ); in TryInsertNesting()
394 const xub_StrLen nOtherEnd ( *(pOther)->GetEnd() ); in TryInsertNesting()
406 nOtherStart, nOtherEnd, pOther->HasDummyChar()); in TryInsertNesting()
410 static_cast<SwTxtAttrNesting*>(pOther)); in TryInsertNesting()
423 static_cast<SwTxtAttrNesting*>(pOther)); in TryInsertNesting()
425 else if ((nNewStart == nOtherStart) && pOther->HasDummyChar()) in TryInsertNesting()
616 SwTxtAttr* pOther = GetTextHint(i); in BuildPortions() local
618 if ( RES_TXTATR_CHARFMT != pOther->Which() && in BuildPortions()
619 RES_TXTATR_AUTOFMT != pOther->Which() ) in BuildPortions()
622 xub_StrLen nOtherStart = *pOther->GetStart(); in BuildPortions()
623 const xub_StrLen nOtherEnd = *pOther->GetEnd(); in BuildPortions()
630 pOther->GetAttr(), nOtherStart, nThisStart ); in BuildPortions()
631 if ( RES_TXTATR_CHARFMT == pOther->Which() ) in BuildPortions()
632 …cast<SwTxtCharFmt*>(pNewAttr)->SetSortNumber( static_cast<SwTxtCharFmt*>(pOther)->GetSortNumber() … in BuildPortions()
635 NoteInHistory( pOther ); in BuildPortions()
636 *pOther->GetStart() = nThisStart; in BuildPortions()
637 NoteInHistory( pOther, true ); in BuildPortions()
647 pOther->GetAttr(), nOtherStart, nThisEnd ); in BuildPortions()
648 if ( RES_TXTATR_CHARFMT == pOther->Which() ) in BuildPortions()
649 …cast<SwTxtCharFmt*>(pNewAttr)->SetSortNumber( static_cast<SwTxtCharFmt*>(pOther)->GetSortNumber() … in BuildPortions()
652 NoteInHistory( pOther ); in BuildPortions()
653 *pOther->GetStart() = nThisEnd; in BuildPortions()
654 NoteInHistory( pOther, true ); in BuildPortions()
682 const SwTxtAttr* pOther = GetTextHint(i); in BuildPortions() local
684 if ( RES_TXTATR_CHARFMT != pOther->Which() && in BuildPortions()
685 RES_TXTATR_AUTOFMT != pOther->Which() ) in BuildPortions()
688 const xub_StrLen nOtherStart = *pOther->GetStart(); in BuildPortions()
689 const xub_StrLen nOtherEnd = *pOther->End(); in BuildPortions()
715 SwTxtAttr *pOther = GetTextHint(i); in BuildPortions() local
717 if ( RES_TXTATR_CHARFMT != pOther->Which() && in BuildPortions()
718 RES_TXTATR_AUTOFMT != pOther->Which() ) in BuildPortions()
721 const xub_StrLen nOtherStart = *pOther->GetStart(); in BuildPortions()
726 if ( pOther->GetEnd() && *pOther->GetEnd() == nPorEnd && nOtherStart == nPorStart ) in BuildPortions()
728 ASSERT( *pOther->GetEnd() == nPorEnd, "AUTOSTYLES: BuildPortion trouble" ) in BuildPortions()
729 aInsDelHints.push_back( pOther ); in BuildPortions()
771 SwTxtAttr* pOther = *aIter; in BuildPortions()
772 …ost::shared_ptr<SfxItemSet> pOldStyle = static_cast<const SwFmtAutoFmt&>(pOther->GetAttr()).GetSty… in BuildPortions()
794 Delete( pOther ); in BuildPortions()
795 rNode.DestroyAttr( pOther ); in BuildPortions()