vcl/source/window/toolbox2.cxx | 2 --
1 file changed, 2 deletions(-)
New commits:
commit 78cf248d13360e468bcb317cee2cf8239da5f99a
Author: Tamás Zolnai <[email protected]>
AuthorDate: Thu Oct 31 15:12:40 2019 +0100
Commit: Tamás Zolnai <[email protected]>
CommitDate: Mon Nov 4 18:48:03 2019 +0100
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 <[email protected]>
Tested-by: Tamás Zolnai <[email protected]>
(cherry picked from commit f875aca60c46f070e72f61836b33c39b62adcda3)
Reviewed-on: https://gerrit.libreoffice.org/82029
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;
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits