summaryrefslogtreecommitdiff
path: root/framework/source/accelerators
diff options
context:
space:
mode:
authorMuhammet Kara <muhammet.kara@collabora.com>2020-02-16 14:44:52 +0300
committerMuhammet Kara <muhammet.kara@collabora.com>2020-02-16 14:10:39 +0100
commitc691aed63451ba441d45d2feb90f7266e12366f4 (patch)
tree37879f918bf7a65b1237b517190cb01f4c8478f2 /framework/source/accelerators
parentf99e765cb303e37e6b6c983d3ee040fa36c1e52c (diff)
clang-format f*,h* with under 5-percent lines of change
Files which could become clang-format conformant with under 5-percent lines of change relative to the total count of lines in the file are found by using bin/find-clang-format.py, and fixed with /opt/lo/bin/clang-format -i <path-of-the-file> There will be follow-up patches to fix all 'under-5-percent' files. Change-Id: I702c09bcd3a9a113b3d66c30edb6cf3b7e6a6593 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88776 Tested-by: Jenkins Reviewed-by: Muhammet Kara <muhammet.kara@collabora.com>
Diffstat (limited to 'framework/source/accelerators')
-rw-r--r--framework/source/accelerators/acceleratorcache.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/framework/source/accelerators/acceleratorcache.cxx b/framework/source/accelerators/acceleratorcache.cxx
index 99350dda9f95..98596a895036 100644
--- a/framework/source/accelerators/acceleratorcache.cxx
+++ b/framework/source/accelerators/acceleratorcache.cxx
@@ -25,7 +25,6 @@
namespace framework
{
-
bool AcceleratorCache::hasKey(const css::awt::KeyEvent& aKey) const
{
SolarMutexGuard g;
@@ -52,8 +51,7 @@ AcceleratorCache::TKeyList AcceleratorCache::getAllKeys() const
return lKeys;
}
-void AcceleratorCache::setKeyCommandPair(const css::awt::KeyEvent& aKey ,
- const OUString& sCommand)
+void AcceleratorCache::setKeyCommandPair(const css::awt::KeyEvent& aKey, const OUString& sCommand)
{
SolarMutexGuard g;
@@ -109,7 +107,7 @@ void AcceleratorCache::removeCommand(const OUString& sCommand)
{
SolarMutexGuard g;
- const TKeyList& lKeys = getKeysByCommand(sCommand);
+ const TKeyList& lKeys = getKeysByCommand(sCommand);
for (auto const& lKey : lKeys)
{
removeKey(lKey);