diff options
Diffstat (limited to 'vcl/source/window/toolbox.cxx')
-rw-r--r-- | vcl/source/window/toolbox.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/vcl/source/window/toolbox.cxx b/vcl/source/window/toolbox.cxx index df0919243ad3..3037a581cc09 100644 --- a/vcl/source/window/toolbox.cxx +++ b/vcl/source/window/toolbox.cxx @@ -4981,12 +4981,10 @@ void ToolBox::LoseFocus() } // performs the action associated with an item, ie simulates clicking the item -void ToolBox::TriggerItem( sal_uInt16 nItemId, bool bShift ) +void ToolBox::TriggerItem( sal_uInt16 nItemId ) { mnHighItemId = nItemId; sal_uInt16 nModifier = 0; - if( bShift ) - nModifier |= KEY_SHIFT; vcl::KeyCode aKeyCode( 0, nModifier ); ImplActivateItem( aKeyCode ); } |