diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-06-15 13:57:36 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-06-17 15:06:52 +0200 |
commit | 8914595d4623390e4bac9ebbdf0d5ae9ab69aa8a (patch) | |
tree | 2fe937925e9cde3e835119c57f12807bc1f419db /vcl/source/window/accmgr.cxx | |
parent | d69795b9c9d2dac7b751c6fe8b4663c0c26a129b (diff) |
loplugin:unusedfields in vcl part1
Change-Id: I67d176003f39992cd0ff9271a7d6ce26d2cb6619
Reviewed-on: https://gerrit.libreoffice.org/38828
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/source/window/accmgr.cxx')
-rw-r--r-- | vcl/source/window/accmgr.cxx | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/vcl/source/window/accmgr.cxx b/vcl/source/window/accmgr.cxx index bf209354191c..2959f75f81dc 100644 --- a/vcl/source/window/accmgr.cxx +++ b/vcl/source/window/accmgr.cxx @@ -95,7 +95,7 @@ void ImplAccelManager::EndSequence() mpSequenceList = nullptr; } -bool ImplAccelManager::IsAccelKey( const vcl::KeyCode& rKeyCode, sal_uInt16 nRepeat ) +bool ImplAccelManager::IsAccelKey( const vcl::KeyCode& rKeyCode ) { Accelerator* pAccel; @@ -147,7 +147,6 @@ bool ImplAccelManager::IsAccelKey( const vcl::KeyCode& rKeyCode, sal_uInt16 nRep bool bDel = false; pAccel->maCurKeyCode = rKeyCode; pAccel->mnCurId = pEntry->mnId; - pAccel->mnCurRepeat = nRepeat; pAccel->mpDel = &bDel; pAccel->Select(); @@ -156,7 +155,6 @@ bool ImplAccelManager::IsAccelKey( const vcl::KeyCode& rKeyCode, sal_uInt16 nRep { pAccel->maCurKeyCode = vcl::KeyCode(); pAccel->mnCurId = 0; - pAccel->mnCurRepeat = 0; pAccel->mpDel = nullptr; } @@ -217,7 +215,6 @@ bool ImplAccelManager::IsAccelKey( const vcl::KeyCode& rKeyCode, sal_uInt16 nRep bool bDel = false; pAccel->maCurKeyCode = rKeyCode; pAccel->mnCurId = pEntry->mnId; - pAccel->mnCurRepeat = nRepeat; pAccel->mpDel = &bDel; pAccel->Select(); @@ -226,7 +223,6 @@ bool ImplAccelManager::IsAccelKey( const vcl::KeyCode& rKeyCode, sal_uInt16 nRep { pAccel->maCurKeyCode = vcl::KeyCode(); pAccel->mnCurId = 0; - pAccel->mnCurRepeat = 0; pAccel->mpDel = nullptr; } |