diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-02-21 12:53:51 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-02-21 12:53:51 +0100 |
commit | e8f8f24c8415898c787bbfb629247ed62e73a2b9 (patch) | |
tree | dae18a3acbf29c192118e7c003f80df8da8e21ae /vcl/source/window/split.cxx | |
parent | 1c8402465cfd4df862409dc310f5f099d044c4d8 (diff) |
vcl: sal_Bool -> bool
Change-Id: I2a3e3d3e3266ea0f0fafdd91362076a4aa160f0e
Diffstat (limited to 'vcl/source/window/split.cxx')
-rw-r--r-- | vcl/source/window/split.cxx | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/vcl/source/window/split.cxx b/vcl/source/window/split.cxx index 4cb24ee0e702..5b2480e50747 100644 --- a/vcl/source/window/split.cxx +++ b/vcl/source/window/split.cxx @@ -58,8 +58,8 @@ void Splitter::ImplInitSplitterData() mnSplitPos = 0; mnLastSplitPos = 0; mnStartSplitPos = 0; - mbDragFull = sal_False; - mbKbdSplitting = sal_False; + mbDragFull = false; + mbKbdSplitting = false; mbInKeyEvent = 0; mnKeyboardStepSize = SPLITTER_DEFAULTSTEPSIZE; } @@ -226,11 +226,11 @@ Splitter* Splitter::ImplFindSibling() // ----------------------------------------------------------------------- -sal_Bool Splitter::ImplSplitterActive() +bool Splitter::ImplSplitterActive() { // is splitter in document or at scrollbar handle ? - sal_Bool bActive = sal_True; + bool bActive = true; const StyleSettings& rSettings = GetSettings().GetStyleSettings(); long nA = rSettings.GetScrollBarSize(); long nB = rSettings.GetSplitSize(); @@ -239,12 +239,12 @@ sal_Bool Splitter::ImplSplitterActive() if ( mbHorzSplit ) { if( aSize.Width() == nB && aSize.Height() == nA ) - bActive = sal_False; + bActive = false; } else { if( aSize.Width() == nA && aSize.Height() == nB ) - bActive = sal_False; + bActive = false; } return bActive; } @@ -366,7 +366,7 @@ void Splitter::ImplKbdTracking( KeyCode aKeyCode ) if( !mbKbdSplitting ) return; else - mbKbdSplitting = sal_False; + mbKbdSplitting = false; if ( nCode != KEY_ESCAPE ) { @@ -554,7 +554,7 @@ void Splitter::ImplStartKbdSplitting() if( mbKbdSplitting ) return; - mbKbdSplitting = sal_True; + mbKbdSplitting = true; StartSplit(); @@ -626,7 +626,7 @@ void Splitter::LoseFocus() { KeyCode aReturnKey( KEY_RETURN ); ImplKbdTracking( aReturnKey ); - mbKbdSplitting = sal_False; + mbKbdSplitting = false; } Invalidate(); } |