summaryrefslogtreecommitdiff
path: root/include/vcl/spin.hxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-02-21 12:53:51 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-02-21 12:53:51 +0100
commite8f8f24c8415898c787bbfb629247ed62e73a2b9 (patch)
treedae18a3acbf29c192118e7c003f80df8da8e21ae /include/vcl/spin.hxx
parent1c8402465cfd4df862409dc310f5f099d044c4d8 (diff)
vcl: sal_Bool -> bool
Change-Id: I2a3e3d3e3266ea0f0fafdd91362076a4aa160f0e
Diffstat (limited to 'include/vcl/spin.hxx')
-rw-r--r--include/vcl/spin.hxx22
1 files changed, 11 insertions, 11 deletions
diff --git a/include/vcl/spin.hxx b/include/vcl/spin.hxx
index dedff1495a0b..a48ae89d4b7d 100644
--- a/include/vcl/spin.hxx
+++ b/include/vcl/spin.hxx
@@ -36,13 +36,13 @@ private:
Rectangle maUpperRect;
Rectangle maLowerRect;
Rectangle maFocusRect;
- sal_Bool mbRepeat : 1;
- sal_Bool mbUpperIn : 1;
- sal_Bool mbLowerIn : 1;
- sal_Bool mbInitialUp : 1;
- sal_Bool mbInitialDown : 1;
- sal_Bool mbHorz : 1;
- sal_Bool mbUpperIsFocused : 1;
+ bool mbRepeat : 1;
+ bool mbUpperIn : 1;
+ bool mbLowerIn : 1;
+ bool mbInitialUp : 1;
+ bool mbInitialDown : 1;
+ bool mbHorz : 1;
+ bool mbUpperIsFocused : 1;
Link maUpHdlLink;
Link maDownHdlLink;
long mnMinRange;
@@ -92,14 +92,14 @@ public:
private:
// moves the focus to the upper or lower rect. Return sal_True if the focus rect actually changed.
- SAL_DLLPRIVATE sal_Bool ImplMoveFocus( sal_Bool _bUpper );
- SAL_DLLPRIVATE void ImplCalcFocusRect( sal_Bool _bUpper );
+ SAL_DLLPRIVATE bool ImplMoveFocus( bool _bUpper );
+ SAL_DLLPRIVATE void ImplCalcFocusRect( bool _bUpper );
- SAL_DLLPRIVATE inline sal_Bool ImplIsUpperEnabled( ) const
+ SAL_DLLPRIVATE inline bool ImplIsUpperEnabled( ) const
{
return mnValue + mnValueStep <= mnMaxRange;
}
- SAL_DLLPRIVATE inline sal_Bool ImplIsLowerEnabled( ) const
+ SAL_DLLPRIVATE inline bool ImplIsLowerEnabled( ) const
{
return mnValue >= mnMinRange + mnValueStep;
}