diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2017-09-05 09:36:54 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2017-09-05 09:38:07 +0200 |
commit | 37fb2896144a1858e68c668ff39ae5d7b9d91653 (patch) | |
tree | 33776ca11f41525f9a413d9541ac2e5278d02b47 | |
parent | 6dce5d167ebbe1f69d2198b2809e0ae3e5451bd4 (diff) |
cui: fix loplugin:unnecessaryparen warnings
Change-Id: I7eaee88006c57bb063108aefe28b19ac72363076
-rw-r--r-- | cui/source/customize/SvxMenuConfigPage.cxx | 2 | ||||
-rw-r--r-- | cui/source/customize/SvxToolbarConfigPage.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
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); |