Lines Matching refs:pLb
163 ListBox* pLb[3] = { &aLbPrintArea, &aLbRepeatRow, &aLbRepeatCol }; in ~ScPrintAreasDlg() local
167 sal_uInt16 nCount = pLb[i]->GetEntryCount(); in ~ScPrintAreasDlg()
169 delete (String*)pLb[i]->GetEntryData(j); in ~ScPrintAreasDlg()
606 IMPL_LINK( ScPrintAreasDlg, Impl_SelectHdl, ListBox*, pLb ) in IMPL_LINK() argument
608 sal_uInt16 nSelPos = pLb->GetSelectEntryPos(); in IMPL_LINK()
617 if( pLb == &aLbPrintArea ) in IMPL_LINK()
624 else if( pLb == &aLbRepeatCol ) in IMPL_LINK()
626 else if( pLb == &aLbRepeatRow ) in IMPL_LINK()
634 else if( nSelPos == nUserDefPos && !pLb->IsTravelSelect() && pEd->GetText().Len() == 0 ) in IMPL_LINK()
635 pLb->SelectEntryPos( 0 ); in IMPL_LINK()
637 pEd->SetText( *static_cast< String* >( pLb->GetEntryData( nSelPos ) ) ); in IMPL_LINK()
647 ListBox* pLb = NULL; in IMPL_LINK() local
655 pLb = &aLbPrintArea; in IMPL_LINK()
660 pLb = &aLbRepeatCol; in IMPL_LINK()
662 pLb = &aLbRepeatRow; in IMPL_LINK()
667 sal_uInt16 nEntryCount = pLb->GetEntryCount(); in IMPL_LINK()
680 pSymbol = (String*)pLb->GetEntryData( i ); in IMPL_LINK()
684 pLb->SelectEntryPos( bFound ? i-1 : nUserDefPos ); in IMPL_LINK()
687 pLb->SelectEntryPos( aStrEd.Len() ? nUserDefPos : 0 ); in IMPL_LINK()