diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-02-27 09:20:25 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-02-27 09:52:09 +0100 |
commit | b83b4f967f8cbee208e44600821aa1a5518e34ac (patch) | |
tree | 4fcaec5dd2b13c8b95c0ea5231b5f17f0f3954c8 /vcl/source/window/accmgr.cxx | |
parent | 34585f09cf2b14eb3ef9c238e9b4050efb7028d9 (diff) |
loplugin:unusedfields
Change-Id: I0d3941ed2a6f0caadbe080ac8a6273c5ec21462c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89616
Tested-by: Jenkins
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 | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/vcl/source/window/accmgr.cxx b/vcl/source/window/accmgr.cxx index f7a3ea0545a1..003e09343bc3 100644 --- a/vcl/source/window/accmgr.cxx +++ b/vcl/source/window/accmgr.cxx @@ -138,7 +138,6 @@ bool ImplAccelManager::IsAccelKey( const vcl::KeyCode& rKeyCode ) // set accelerator of the actual item // and call the handler bool bDel = false; - pAccel->maCurKeyCode = rKeyCode; pAccel->mnCurId = pEntry->mnId; pAccel->mpDel = &bDel; pAccel->Select(); @@ -146,7 +145,6 @@ bool ImplAccelManager::IsAccelKey( const vcl::KeyCode& rKeyCode ) // did the accelerator survive the call if ( !bDel ) { - pAccel->maCurKeyCode = vcl::KeyCode(); pAccel->mnCurId = 0; pAccel->mpDel = nullptr; } @@ -206,7 +204,6 @@ bool ImplAccelManager::IsAccelKey( const vcl::KeyCode& rKeyCode ) // define accelerator of the actual item // and call the handler bool bDel = false; - pAccel->maCurKeyCode = rKeyCode; pAccel->mnCurId = pEntry->mnId; pAccel->mpDel = &bDel; pAccel->Select(); @@ -214,7 +211,6 @@ bool ImplAccelManager::IsAccelKey( const vcl::KeyCode& rKeyCode ) // if the accelerator did survive the call if ( !bDel ) { - pAccel->maCurKeyCode = vcl::KeyCode(); pAccel->mnCurId = 0; pAccel->mpDel = nullptr; } |