summaryrefslogtreecommitdiff
path: root/vcl/source/window/accmgr.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/window/accmgr.cxx')
-rw-r--r--vcl/source/window/accmgr.cxx4
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;
}