Lines Matching refs:nSelPos
698 sal_uInt16 nSelPos = LISTBOX_ENTRY_NOTFOUND; in LaunchPageFieldMenu() local
700 nSelPos = pFilterBox->GetEntryPos( aCurrentPage ); in LaunchPageFieldMenu()
702 if ( nSelPos == LISTBOX_ENTRY_NOTFOUND ) in LaunchPageFieldMenu()
703 nSelPos = 0; // first entry in LaunchPageFieldMenu()
708 if ( nSelPos != LISTBOX_ENTRY_NOTFOUND ) in LaunchPageFieldMenu()
709 pFilterBox->SelectEntryPos( nSelPos ); in LaunchPageFieldMenu()
1059 sal_uInt16 nSelPos = LISTBOX_ENTRY_NOTFOUND; in DoAutoFilterMenue() local
1086 nSelPos = pFilterBox->GetEntryPos( *pStr ); in DoAutoFilterMenue()
1092 nSelPos = SC_AUTOFILTER_TOP10; in DoAutoFilterMenue()
1094 nSelPos = SC_AUTOFILTER_CUSTOM; in DoAutoFilterMenue()
1099 nSelPos = SC_AUTOFILTER_CUSTOM; in DoAutoFilterMenue()
1128 nSelPos = nStrIndex; in DoAutoFilterMenue()
1133 for (i = 0; ((i < nCount) && ( LISTBOX_ENTRY_NOTFOUND == nSelPos)); i++) in DoAutoFilterMenue()
1136 nSelPos = i; in DoAutoFilterMenue()
1145 if ( LISTBOX_ENTRY_NOTFOUND == nSelPos && pFilterBox->GetEntryCount() > 0 && !bDataSelect) in DoAutoFilterMenue()
1146 nSelPos = 0; in DoAutoFilterMenue()
1162 if ( LISTBOX_ENTRY_NOTFOUND != nSelPos ) in DoAutoFilterMenue()
1163 pFilterBox->SelectEntryPos( nSelPos ); in DoAutoFilterMenue()