Lines Matching refs:pHelpMenu

208         PopupMenu* pHelpMenu = pMergeMenuBar->GetPopupMenu( SID_HELPMENU );  in MergeAddonHelpMenu()  local
209 if ( !pHelpMenu ) in MergeAddonHelpMenu()
213 pHelpMenu = pMergeMenuBar->GetPopupMenu( nId ); in MergeAddonHelpMenu()
216 if ( pHelpMenu ) in MergeAddonHelpMenu()
223 sal_uInt16 nItemCount = pHelpMenu->GetItemCount(); in MergeAddonHelpMenu()
224 sal_uInt16 nSupPos = pHelpMenu->GetItemPos( SID_HELP_SUPPORTPAGE ); in MergeAddonHelpMenu()
233 … sal_uInt16 nId = FindMenuId( pHelpMenu, String::CreateFromAscii( REFERENCECOMMAND_AFTER )); in MergeAddonHelpMenu()
234 nSupPos = pHelpMenu->GetItemPos( nId ); in MergeAddonHelpMenu()
242 … sal_uInt16 nId = FindMenuId( pHelpMenu, String::CreateFromAscii( REFERENCECOMMAND_BEFORE )); in MergeAddonHelpMenu()
243 nSupPos = pHelpMenu->GetItemPos( nId ); in MergeAddonHelpMenu()
252 if ( nInsPos < nItemCount && pHelpMenu->GetItemType( nInsPos ) != MENUITEM_SEPARATOR ) in MergeAddonHelpMenu()
256 …AddonMenuManager::BuildMenu( pHelpMenu, ADDON_MENU, nInsPos, nUniqueMenuId, rAddonHelpMenuEntries,… in MergeAddonHelpMenu()
258 if ( pHelpMenu->GetItemCount() > nItemCount ) in MergeAddonHelpMenu()
262 nInsSepAfterPos += ( pHelpMenu->GetItemCount() - nItemCount ); in MergeAddonHelpMenu()
263 if ( pHelpMenu->GetItemType( nInsSepAfterPos ) != MENUITEM_SEPARATOR ) in MergeAddonHelpMenu()
264 pHelpMenu->InsertSeparator( nInsSepAfterPos ); in MergeAddonHelpMenu()
267 pHelpMenu->InsertSeparator( nSupPos+1 ); in MergeAddonHelpMenu()
269 pHelpMenu->InsertSeparator( nItemCount ); in MergeAddonHelpMenu()