Searched refs:pCategoryList (Results 1 – 1 of 1) sorted by relevance
628 const PresetCategoryList* pCategoryList = 0; in getRandomPreset() local631 case EffectPresetClass::ENTRANCE: pCategoryList = &maEntrancePresets; break; in getRandomPreset()632 case EffectPresetClass::EXIT: pCategoryList = &maExitPresets; break; in getRandomPreset()633 case EffectPresetClass::EMPHASIS: pCategoryList = &maEmphasisPresets; break; in getRandomPreset()634 case EffectPresetClass::MOTIONPATH: pCategoryList = &maMotionPathsPresets; break; in getRandomPreset()636 pCategoryList = 0; in getRandomPreset()639 if( pCategoryList && pCategoryList->size() ) in getRandomPreset()641 sal_Int32 nCategory = (rand() * pCategoryList->size() / RAND_MAX); in getRandomPreset()643 PresetCategoryPtr pCategory = (*pCategoryList)[nCategory]; in getRandomPreset()
Completed in 25 milliseconds