diff options
Diffstat (limited to 'include/vcl/toolbox.hxx')
-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); } |