cui/source/customize/SvxMenuConfigPage.cxx | 2 +- cui/source/customize/SvxToolbarConfigPage.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
New commits: commit 37fb2896144a1858e68c668ff39ae5d7b9d91653 Author: Miklos Vajna <vmik...@collabora.co.uk> Date: Tue Sep 5 09:36:54 2017 +0200 cui: fix loplugin:unnecessaryparen warnings Change-Id: I7eaee88006c57bb063108aefe28b19ac72363076 diff --git a/cui/source/customize/SvxMenuConfigPage.cxx b/cui/source/customize/SvxMenuConfigPage.cxx index 016141184758..6d02d8d4442d 100644 --- a/cui/source/customize/SvxMenuConfigPage.cxx +++ b/cui/source/customize/SvxMenuConfigPage.cxx @@ -206,7 +206,7 @@ void SvxMenuConfigPage::UpdateButtonStates() SvTreeListEntry* selection = m_pContentsListBox->GetCurEntry(); bool bIsSeparator = - selection && (static_cast<SvxConfigEntry*>(selection->GetUserData()))->IsSeparator(); + selection && static_cast<SvxConfigEntry*>(selection->GetUserData())->IsSeparator(); bool bIsValidSelection = !(m_pContentsListBox->GetEntryCount() == 0 || selection == nullptr); diff --git a/cui/source/customize/SvxToolbarConfigPage.cxx b/cui/source/customize/SvxToolbarConfigPage.cxx index 5446c673f5ed..7112e6edbd7a 100644 --- a/cui/source/customize/SvxToolbarConfigPage.cxx +++ b/cui/source/customize/SvxToolbarConfigPage.cxx @@ -702,7 +702,7 @@ void SvxToolbarConfigPage::UpdateButtonStates() SvTreeListEntry* selection = m_pContentsListBox->GetCurEntry(); bool bIsSeparator = - selection && (static_cast<SvxConfigEntry*>(selection->GetUserData()))->IsSeparator(); + selection && static_cast<SvxConfigEntry*>(selection->GetUserData())->IsSeparator(); bool bIsValidSelection = !(m_pContentsListBox->GetEntryCount() == 0 || selection == nullptr); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits