Lines Matching refs:sCommand
107 sal_Bool AcceleratorCache::hasCommand(const ::rtl::OUString& sCommand) const in hasCommand()
112 return (m_lCommand2Keys.find(sCommand) != m_lCommand2Keys.end()); in hasCommand()
142 const ::rtl::OUString& sCommand) in setKeyCommandPair()
148 m_lKey2Commands[aKey] = sCommand; in setKeyCommandPair()
151 TKeyList& rKeyList = m_lCommand2Keys[sCommand]; in setKeyCommandPair()
159 AcceleratorCache::TKeyList AcceleratorCache::getKeysByCommand(const ::rtl::OUString& sCommand) const in getKeysByCommand()
166 TCommand2Keys::const_iterator pCommand = m_lCommand2Keys.find(sCommand); in getKeysByCommand()
181 ::rtl::OUString sCommand; in getCommandByKey()
190 sCommand = pKey->second; in getCommandByKey()
195 return sCommand; in getCommandByKey()
212 ::rtl::OUString sCommand = pKey->second; in removeKey()
219 m_lCommand2Keys.erase(sCommand); in removeKey()
226 void AcceleratorCache::removeCommand(const ::rtl::OUString& sCommand) in removeCommand() argument
231 const TKeyList& lKeys = getKeysByCommand(sCommand); in removeCommand()
240 m_lCommand2Keys.erase(sCommand); in removeCommand()