Lines Matching refs:nNewItemId
976 sal_uIntPtr nNewItemId = nItemId; in Travel() local
980 case( GALLERYBROWSERTRAVEL_FIRST ): nNewItemId = 1; break; in Travel()
981 … case( GALLERYBROWSERTRAVEL_LAST ): nNewItemId = mpCurTheme->GetObjectCount(); break; in Travel()
982 case( GALLERYBROWSERTRAVEL_PREVIOUS ): nNewItemId--; break; in Travel()
983 case( GALLERYBROWSERTRAVEL_NEXT ): nNewItemId++; break; in Travel()
988 if( nNewItemId < 1 ) in Travel()
989 nNewItemId = 1; in Travel()
990 else if( nNewItemId > mpCurTheme->GetObjectCount() ) in Travel()
991 nNewItemId = mpCurTheme->GetObjectCount(); in Travel()
993 if( nNewItemId != nItemId ) in Travel()
995 ImplSelectItemId( nNewItemId ); in Travel()
1001 const sal_uIntPtr nPos = nNewItemId - 1; in Travel()