diff options
author | Noel Grandin <noel@peralex.com> | 2015-05-25 15:19:52 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2015-05-26 06:47:10 +0000 |
commit | 01ef2044d0b2c3429eca71de6afef0241e0196f3 (patch) | |
tree | d86ed1d474357a32855f1b5f2160cb5e3ae5be27 /cui/source/customize/cfg.cxx | |
parent | b4b48e0f0e5703021abfcafc0c6b16116daf8de3 (diff) |
loplugin:unnecessarysuperclass, merge ImageProvider with SaveInData
Change-Id: Ib538cc10728b2dc97e173d865807754471860e0f
Reviewed-on: https://gerrit.libreoffice.org/15900
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'cui/source/customize/cfg.cxx')
-rw-r--r-- | cui/source/customize/cfg.cxx | 6 |
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; |