diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-10-20 07:38:42 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-10-22 07:55:46 +0200 |
commit | b979e7181ff8c089b7809571791f7f287d01ae83 (patch) | |
tree | 659b9e39cde19d3e5fa418187893df93aeb89ac4 /vcl | |
parent | 7ea01578eed8459678369d0256de016930b3af40 (diff) |
loplugin:singlevalfields look for fields that can be bool
Change-Id: Ief773b661a8378a10db56943b32127c7a2c86d11
Reviewed-on: https://gerrit.libreoffice.org/62037
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/window/split.cxx | 6 |
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 ) |