Lines Matching refs:rToFill
624 sal_uInt16 InsertStringSorted(const String& rEntry, ListBox& rToFill, sal_uInt16 nOffset ) in InsertStringSorted() argument
629 for( ; i < rToFill.GetEntryCount(); i++ ) in InsertStringSorted()
631 if( 0 < rCaseColl.compareString( rToFill.GetEntry(i), rEntry )) in InsertStringSorted()
634 return rToFill.InsertEntry(rEntry, i); in InsertStringSorted()
636 void FillCharStyleListBox(ListBox& rToFill, SwDocShell* pDocSh, sal_Bool bSorted, sal_Bool bWithDef… in FillCharStyleListBox() argument
638 sal_Bool bHasOffset = rToFill.GetEntryCount() > 0; in FillCharStyleListBox()
651 nPos = InsertStringSorted(pBase->GetName(), rToFill, bHasOffset ); in FillCharStyleListBox()
653 nPos = rToFill.InsertEntry(pBase->GetName()); in FillCharStyleListBox()
655 rToFill.SetEntryData( nPos, (void*) (nPoolId)); in FillCharStyleListBox()
667 if(rToFill.GetEntryPos(rName) == LISTBOX_ENTRY_NOTFOUND) in FillCharStyleListBox()
671 nPos = InsertStringSorted(rName, rToFill, bHasOffset ); in FillCharStyleListBox()
673 nPos = rToFill.InsertEntry(rName); in FillCharStyleListBox()
675 rToFill.SetEntryData( nPos, (void*) (nPoolId)); in FillCharStyleListBox()