summaryrefslogtreecommitdiff
path: root/vcl/source/window
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-06-11 12:29:10 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-06-12 12:53:09 +0200
commit9ba797aa4fe8d48649d8c42b07c13d2371f1c980 (patch)
tree159d73c982f391762c95464a020e96f9e88f70f0 /vcl/source/window
parent76c4ed30437125a922936c036a3dc57441938c61 (diff)
loplugin:unusedfields
Change-Id: I0bd600b59b2bc4b50eb2d32e95c9d1167fdf2eab Reviewed-on: https://gerrit.libreoffice.org/73823 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/source/window')
-rw-r--r--vcl/source/window/toolbox.cxx4
1 files changed, 0 insertions, 4 deletions
diff --git a/vcl/source/window/toolbox.cxx b/vcl/source/window/toolbox.cxx
index f7fd673b122a..9e2c8c681161 100644
--- a/vcl/source/window/toolbox.cxx
+++ b/vcl/source/window/toolbox.cxx
@@ -1147,7 +1147,6 @@ void ToolBox::ImplInitToolBoxData()
meLayoutMode = ToolBoxLayoutMode::Normal;
meTextPosition = ToolBoxTextPosition::Right;
mnLastFocusItemId = 0;
- mnKeyModifier = 0;
mnActivateCount = 0;
mnImagesRotationAngle = 0;
@@ -4456,7 +4455,6 @@ bool ToolBox::ImplOpenItem( vcl::KeyCode aKeyCode )
void ToolBox::KeyInput( const KeyEvent& rKEvt )
{
vcl::KeyCode aKeyCode = rKEvt.GetKeyCode();
- mnKeyModifier = aKeyCode.GetModifier();
sal_uInt16 nCode = aKeyCode.GetCode();
vcl::Window *pParent = ImplGetParent();
@@ -4630,8 +4628,6 @@ void ToolBox::KeyInput( const KeyEvent& rKEvt )
pFocusControl->ImplControlFocus( GetFocusFlags::Init );
}
- mnKeyModifier = 0;
-
// #107712#, leave toolbox
if( bGrabFocusToDocument )
{