summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-07-08 15:41:58 +0100
committerCaolán McNamara <caolanm@redhat.com>2016-07-08 16:43:41 +0100
commitd79ab5dc5824de2b00c14c66af339761bde9e9fc (patch)
tree3f1d4b3dc4eaf5af07fff6e646726b4b5548b7e7 /vcl
parentaf8c151f0af0aca74d6bde7132fae4098064d02f (diff)
DialogControlFlags::Mod1Tab is never set
Change-Id: If681e1f296934c7e20934b0e000a3288f989ed35
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/window/dlgctrl.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/vcl/source/window/dlgctrl.cxx b/vcl/source/window/dlgctrl.cxx
index 6e5b18a84995..e51088f4afdd 100644
--- a/vcl/source/window/dlgctrl.cxx
+++ b/vcl/source/window/dlgctrl.cxx
@@ -799,8 +799,7 @@ bool Window::ImplDlgCtrl( const KeyEvent& rKEvt, bool bKeyInput )
{
// Only use Ctrl-TAB if it was allowed for the whole
// dialog or for the current control (#103667#)
- if ( !aKeyCode.IsMod1() || (nDlgCtrlFlags & DialogControlFlags::Mod1Tab) ||
- ( pSWindow->GetStyle() & WB_NODIALOGCONTROL) )
+ if (!aKeyCode.IsMod1() || (pSWindow->GetStyle() & WB_NODIALOGCONTROL))
{
if ( aKeyCode.IsShift() )
{