diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-01-10 12:45:57 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-01-10 17:11:51 +0100 |
commit | c83f425af90b26d62771fa2a93d93fc24adc22a0 (patch) | |
tree | 7dd88f39702987920ea5d841363ad6a1d65e1ad2 /include/vcl/toolbox.hxx | |
parent | 1a3e7b7d5916a8fa588ca909a7507f59dd86ac74 (diff) |
Use bool
Change-Id: I6a300087d28c8a8b7266657df4250864e689075b
Diffstat (limited to 'include/vcl/toolbox.hxx')
-rw-r--r-- | include/vcl/toolbox.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/vcl/toolbox.hxx b/include/vcl/toolbox.hxx index 66586b5cb065..4589b2498ba3 100644 --- a/include/vcl/toolbox.hxx +++ b/include/vcl/toolbox.hxx @@ -178,7 +178,7 @@ private: sal_uInt16 mnConfigItem; sal_uInt16 mnMouseClicks; sal_uInt16 mnMouseModifier; - unsigned int mbDrag:1, + bool mbDrag:1, mbSelection:1, mbCommandDrag:1, mbUpper:1, @@ -492,7 +492,7 @@ public: // read configuration to determine locking behaviour static sal_Bool AlwaysLocked(); - void EnableMenuStrings( sal_Bool bEnable = sal_True ) { mbMenuStrings = (bEnable != 0); } + void EnableMenuStrings( bool bEnable = true ) { mbMenuStrings = bEnable; } sal_Bool IsMenuStringsEnabled() const { return mbMenuStrings; } void SetOutStyle( sal_uInt16 nNewStyle ); |