summaryrefslogtreecommitdiff
path: root/cui/source/customize/cfg.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'cui/source/customize/cfg.cxx')
-rw-r--r--cui/source/customize/cfg.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/cui/source/customize/cfg.cxx b/cui/source/customize/cfg.cxx
index 7eadd5a16952..36f39974812b 100644
--- a/cui/source/customize/cfg.cxx
+++ b/cui/source/customize/cfg.cxx
@@ -2589,8 +2589,7 @@ IMPL_LINK( SvxMenuConfigPage, AddCommandsHdl, Button *, pButton )
// beside the menu contents list and does not obscure it
m_pSelectorDlg->SetPosPixel( m_pAddCommandsButton->GetPosPixel() );
- m_pSelectorDlg->SetImageProvider(
- static_cast< ImageProvider* >( GetSaveInData() ) );
+ m_pSelectorDlg->SetImageProvider( GetSaveInData() );
m_pSelectorDlg->Show();
return 1;
@@ -4503,8 +4502,7 @@ IMPL_LINK( SvxToolbarConfigPage, AddCommandsHdl, Button *, pButton )
LINK( this, SvxToolbarConfigPage, AddFunctionHdl ) );
}
- m_pSelectorDlg->SetImageProvider(
- static_cast< ImageProvider* >( GetSaveInData() ) );
+ m_pSelectorDlg->SetImageProvider( GetSaveInData() );
m_pSelectorDlg->Show();
return 1;