Lines Matching refs:rPrimaryCache

747     AcceleratorCache& rPrimaryCache   = impl_getCFG(sal_True );  in getCommandByKeyEvent()  local
750 if (!rPrimaryCache.hasKey(aKeyEvent) && !rSecondaryCache.hasKey(aKeyEvent)) in getCommandByKeyEvent()
755 if (rPrimaryCache.hasKey(aKeyEvent)) in getCommandByKeyEvent()
756 return rPrimaryCache.getCommandByKey(aKeyEvent); in getCommandByKeyEvent()
791 …AcceleratorCache& rPrimaryCache = impl_getCFG(sal_True, sal_True ); // sal_True => force getting… in setKeyEvent() local
794 if ( rPrimaryCache.hasKey(aKeyEvent) ) in setKeyEvent()
796 ::rtl::OUString sOriginalCommand = rPrimaryCache.getCommandByKey(aKeyEvent); in setKeyEvent()
803 rPrimaryCache.setKeyCommandPair(lSecondaryKeys[0], sOriginalCommand); in setKeyEvent()
806 if (rPrimaryCache.hasCommand(sCommand)) in setKeyEvent()
808 AcceleratorCache::TKeyList lPrimaryKeys = rPrimaryCache.getKeysByCommand(sCommand); in setKeyEvent()
809 rPrimaryCache.removeKey(lPrimaryKeys[0]); in setKeyEvent()
813 rPrimaryCache.setKeyCommandPair(aKeyEvent, sCommand); in setKeyEvent()
822 if (rPrimaryCache.hasCommand(sCommand)) in setKeyEvent()
824 AcceleratorCache::TKeyList lPrimaryKeys = rPrimaryCache.getKeysByCommand(sCommand); in setKeyEvent()
825 rPrimaryCache.removeKey(lPrimaryKeys[0]); in setKeyEvent()
830 rPrimaryCache.setKeyCommandPair(aKeyEvent, sCommand); in setKeyEvent()
836 if (rPrimaryCache.hasCommand(sCommand)) in setKeyEvent()
838 AcceleratorCache::TKeyList lPrimaryKeys = rPrimaryCache.getKeysByCommand(sCommand); in setKeyEvent()
839 rPrimaryCache.removeKey(lPrimaryKeys[0]); in setKeyEvent()
843 rPrimaryCache.setKeyCommandPair(aKeyEvent, sCommand); in setKeyEvent()
858 AcceleratorCache& rPrimaryCache = impl_getCFG(sal_True, sal_True ); in removeKeyEvent() local
861 if (!rPrimaryCache.hasKey(aKeyEvent) && !rSecondaryCache.hasKey(aKeyEvent)) in removeKeyEvent()
866 if (rPrimaryCache.hasKey(aKeyEvent)) in removeKeyEvent()
868 ::rtl::OUString sDelCommand = rPrimaryCache.getCommandByKey(aKeyEvent); in removeKeyEvent()
871 ::rtl::OUString sOriginalCommand = rPrimaryCache.getCommandByKey(aKeyEvent); in removeKeyEvent()
876 rPrimaryCache.setKeyCommandPair(lSecondaryKeys[0], sOriginalCommand); in removeKeyEvent()
879 rPrimaryCache.removeKey(aKeyEvent); in removeKeyEvent()
908 AcceleratorCache& rPrimaryCache = impl_getCFG(sal_True ); in getKeyEventsByCommand() local
911 if (!rPrimaryCache.hasCommand(sCommand) && !rSecondaryCache.hasCommand(sCommand)) in getKeyEventsByCommand()
916 AcceleratorCache::TKeyList lKeys = rPrimaryCache.getKeysByCommand(sCommand); in getKeyEventsByCommand()
1005 AcceleratorCache& rPrimaryCache = impl_getCFG(sal_True, sal_True ); in removeCommandFromAllKeyEvents() local
1008 if (!rPrimaryCache.hasCommand(sCommand) && !rSecondaryCache.hasCommand(sCommand)) in removeCommandFromAllKeyEvents()
1013 if (rPrimaryCache.hasCommand(sCommand)) in removeCommandFromAllKeyEvents()
1014 rPrimaryCache.removeCommand(sCommand); in removeCommandFromAllKeyEvents()