diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-02-07 17:54:14 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-02-07 18:43:32 +0100 |
commit | 85cdb06fd5ba0c974e729a56dcb0e323c4cdfd25 (patch) | |
tree | 4118701347d05fb5287e51cf0033f95ae34dff39 /include | |
parent | b20888e1299464249875652ac3794258a75c593b (diff) |
sal_Bool -> bool
Change-Id: Ifc80202e0865b59931af6e50d3d60f5021f8b52e
Diffstat (limited to 'include')
-rw-r--r-- | include/vcl/toolbox.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/vcl/toolbox.hxx b/include/vcl/toolbox.hxx index bcc444ed05db..8d421bbd8c62 100644 --- a/include/vcl/toolbox.hxx +++ b/include/vcl/toolbox.hxx @@ -428,18 +428,18 @@ public: void CheckItem( sal_uInt16 nItemId, sal_Bool bCheck = sal_True ); sal_Bool IsItemChecked( sal_uInt16 nItemId ) const; - void EnableItem( sal_uInt16 nItemId, sal_Bool bEnable = sal_True ); + void EnableItem( sal_uInt16 nItemId, bool bEnable = true ); sal_Bool IsItemEnabled( sal_uInt16 nItemId ) const; void TriggerItem( sal_uInt16 nItemId, sal_Bool bShift = sal_False, sal_Bool bCtrl = sal_False ); /// Shows or hides items. - void ShowItem(sal_uInt16 nItemId, sal_Bool bVisible = sal_True); + void ShowItem(sal_uInt16 nItemId, bool bVisible = true); /// Overload to provide ShowItem via command id. void ShowItem(const OUString& rCommand, bool bVisible = true) { ShowItem(GetItemId(rCommand), bVisible); } /// Convenience method to hide items (via ShowItem). - void HideItem(sal_uInt16 nItemId) { ShowItem( nItemId, sal_False ); } + void HideItem(sal_uInt16 nItemId) { ShowItem( nItemId, false ); } /// Overload to provide HideItem via command id. void HideItem(const OUString& rCommand) { ShowItem(rCommand, false); } |