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-10-31 15:12:40 +0100 |
commit | 77ba1e7d32c307e88ad3e18a88334f74401ff67f (patch) | |
tree | 96478235116a00196395a5a71d01087614d2950d | |
parent | Table panel: Make sure Row Height spin button works with the default size type (diff) | |
download | core-77ba1e7d32c307e88ad3e18a88334f74401ff67f.tar.gz core-77ba1e7d32c307e88ad3e18a88334f74401ff67f.zip |
Remove useless bool manipulation.
Must be a left over of sal_Bool -> bool conversion.
Change-Id: I8b37e513dc1f36b015b29ce3dad4ade2df7807d9
-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 4aecf7abfaa6..c3d9d07d0b5c 100644 --- a/vcl/source/window/toolbox2.cxx +++ b/vcl/source/window/toolbox2.cxx @@ -1251,8 +1251,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; |