diff options
author | Tor Lillqvist <tml@collabora.com> | 2014-04-06 19:05:49 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2014-04-06 19:37:48 +0300 |
commit | 951ed199f1a47c02dad3dc899b9804b4574a151d (patch) | |
tree | d8f82a3afa345351ce6a4a206424c6f2bd2aed46 /framework/source/accelerators/acceleratorcache.cxx | |
parent | be616c26f990d651c752be201e29e2b89ba17f2a (diff) |
Kill superfluous vertical whitespace
Change-Id: Ia1bb2b40c74efb17e655dd6f00d7ba48c16c65ae
Diffstat (limited to 'framework/source/accelerators/acceleratorcache.cxx')
-rw-r--r-- | framework/source/accelerators/acceleratorcache.cxx | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/framework/source/accelerators/acceleratorcache.cxx b/framework/source/accelerators/acceleratorcache.cxx index bdbbdb676444..61c8289bc066 100644 --- a/framework/source/accelerators/acceleratorcache.cxx +++ b/framework/source/accelerators/acceleratorcache.cxx @@ -30,26 +30,22 @@ namespace framework { - AcceleratorCache::AcceleratorCache() { } - AcceleratorCache::AcceleratorCache(const AcceleratorCache& rCopy) { m_lCommand2Keys = rCopy.m_lCommand2Keys; m_lKey2Commands = rCopy.m_lKey2Commands; } - AcceleratorCache::~AcceleratorCache() { // Dont save anything automaticly here. // The user has to do that explicitly! } - void AcceleratorCache::takeOver(const AcceleratorCache& rCopy) { SolarMutexGuard g; @@ -57,28 +53,24 @@ void AcceleratorCache::takeOver(const AcceleratorCache& rCopy) m_lKey2Commands = rCopy.m_lKey2Commands; } - AcceleratorCache& AcceleratorCache::operator=(const AcceleratorCache& rCopy) { takeOver(rCopy); return *this; } - sal_Bool AcceleratorCache::hasKey(const css::awt::KeyEvent& aKey) const { SolarMutexGuard g; return (m_lKey2Commands.find(aKey) != m_lKey2Commands.end()); } - sal_Bool AcceleratorCache::hasCommand(const OUString& sCommand) const { SolarMutexGuard g; return (m_lCommand2Keys.find(sCommand) != m_lCommand2Keys.end()); } - AcceleratorCache::TKeyList AcceleratorCache::getAllKeys() const { SolarMutexGuard g; @@ -97,7 +89,6 @@ AcceleratorCache::TKeyList AcceleratorCache::getAllKeys() const return lKeys; } - void AcceleratorCache::setKeyCommandPair(const css::awt::KeyEvent& aKey , const OUString& sCommand) { @@ -111,7 +102,6 @@ void AcceleratorCache::setKeyCommandPair(const css::awt::KeyEvent& aKey , rKeyList.push_back(aKey); } - AcceleratorCache::TKeyList AcceleratorCache::getKeysByCommand(const OUString& sCommand) const { SolarMutexGuard g; @@ -122,7 +112,6 @@ AcceleratorCache::TKeyList AcceleratorCache::getKeysByCommand(const OUString& sC return pCommand->second; } - OUString AcceleratorCache::getCommandByKey(const css::awt::KeyEvent& aKey) const { SolarMutexGuard g; @@ -133,7 +122,6 @@ OUString AcceleratorCache::getCommandByKey(const css::awt::KeyEvent& aKey) const return pKey->second; } - void AcceleratorCache::removeKey(const css::awt::KeyEvent& aKey) { SolarMutexGuard g; @@ -156,7 +144,6 @@ void AcceleratorCache::removeKey(const css::awt::KeyEvent& aKey) m_lCommand2Keys.erase(sCommand); } - void AcceleratorCache::removeCommand(const OUString& sCommand) { SolarMutexGuard g; |