summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cui/source/customize/SvxMenuConfigPage.cxx2
-rw-r--r--cui/source/customize/SvxToolbarConfigPage.cxx2
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);