diff options
author | Tamás Zolnai <tamas.zolnai@collabora.com> | 2019-10-31 15:12:40 +0100 |
---|---|---|
committer | Tamás Zolnai <tamas.zolnai@collabora.com> | 2019-11-04 18:48:03 +0100 |
commit | 78cf248d13360e468bcb317cee2cf8239da5f99a (patch) | |
tree | 32ecd81b004b6c5205d4465a1aadd3010157861b /vcl | |
parent | 95d12a686065b41abe3840608d3bbfbf284fb7d8 (diff) |
Remove useless bool manipulation.
Must be a left over of sal_Bool -> bool conversion.
Change-Id: I8b37e513dc1f36b015b29ce3dad4ade2df7807d9
Reviewed-on: https://gerrit.libreoffice.org/81898
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com>
(cherry picked from commit f875aca60c46f070e72f61836b33c39b62adcda3)
Reviewed-on: https://gerrit.libreoffice.org/82029
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/window/toolbox2.cxx | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/vcl/source/window/toolbox2.cxx b/vcl/source/window/toolbox2.cxx index 9a618a0b07eb..1e8efa249a57 100644 --- a/vcl/source/window/toolbox2.cxx +++ b/vcl/source/window/toolbox2.cxx @@ -1257,8 +1257,6 @@ void ToolBox::EnableItem( sal_uInt16 nItemId, bool bEnable ) if ( nPos != ITEM_NOTFOUND ) { ImplToolItem* pItem = &mpData->m_aItems[nPos]; - if ( bEnable ) - bEnable = true; if ( pItem->mbEnabled != bEnable ) { pItem->mbEnabled = bEnable; |