summaryrefslogtreecommitdiff
path: root/cui/source/customize/acccfg.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'cui/source/customize/acccfg.cxx')
-rw-r--r--cui/source/customize/acccfg.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/cui/source/customize/acccfg.cxx b/cui/source/customize/acccfg.cxx
index 9fbdffd61c32..40cf3c12332b 100644
--- a/cui/source/customize/acccfg.cxx
+++ b/cui/source/customize/acccfg.cxx
@@ -1121,7 +1121,7 @@ IMPL_LINK_TYPED( SfxAcceleratorConfigPage, SelectHdl, SvTreeListBox*, pListBox,
if (pEntry->m_bIsConfigurable)
{
if (pEntry->isConfigured())
- m_pRemoveButton->Enable( true );
+ m_pRemoveButton->Enable();
m_pChangeButton->Enable( pEntry->m_sCommand != sPossibleNewCommand );
}
}
@@ -1147,7 +1147,7 @@ IMPL_LINK_TYPED( SfxAcceleratorConfigPage, SelectHdl, SvTreeListBox*, pListBox,
if (pEntry->m_bIsConfigurable)
{
if (pEntry->isConfigured())
- m_pRemoveButton->Enable( true );
+ m_pRemoveButton->Enable();
m_pChangeButton->Enable( pEntry->m_sCommand != sPossibleNewCommand );
}
@@ -1160,7 +1160,7 @@ IMPL_LINK_TYPED( SfxAcceleratorConfigPage, SelectHdl, SvTreeListBox*, pListBox,
if ( pUserData && pUserData->m_sCommand == sPossibleNewCommand )
{
TAccInfo* pU1 = new TAccInfo(-1, -1, pUserData->m_aKey);
- SvTreeListEntry* pE1 = m_pKeyBox->InsertEntry( pUserData->m_aKey.GetName(), 0L, true, TREELIST_APPEND );
+ SvTreeListEntry* pE1 = m_pKeyBox->InsertEntry( pUserData->m_aKey.GetName(), 0L, true );
pE1->SetUserData(pU1);
pE1->EnableChildrenOnDemand( false );
}