summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/window/split.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/source/window/split.cxx b/vcl/source/window/split.cxx
index 9b5b1209df8d..bedb5ab01009 100644
--- a/vcl/source/window/split.cxx
+++ b/vcl/source/window/split.cxx
@@ -133,7 +133,7 @@ Splitter::Splitter( vcl::Window* pParent, WinBits nStyle ) :
mnStartSplitPos( 0 ),
mbDragFull( false ),
mbKbdSplitting( false ),
- mbInKeyEvent( 0 ),
+ mbInKeyEvent( false ),
mnKeyboardStepSize( SPLITTER_DEFAULTSTEPSIZE )
{
ImplGetWindowImpl()->mbSplitter = true;
@@ -555,7 +555,7 @@ void Splitter::KeyInput( const KeyEvent& rKEvt )
if( mbInKeyEvent )
return;
- mbInKeyEvent = 1;
+ mbInKeyEvent = true;
Splitter *pSibling = ImplFindSibling();
vcl::KeyCode aKeyCode = rKEvt.GetKeyCode();
@@ -644,7 +644,7 @@ void Splitter::KeyInput( const KeyEvent& rKEvt )
GrabFocusToDocument();
break;
}
- mbInKeyEvent = 0;
+ mbInKeyEvent = false;
}
void Splitter::DataChanged( const DataChangedEvent& rDCEvt )