diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-12-20 20:34:47 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-12-20 21:14:29 +0000 |
commit | fdf57121acb3e74ee227a578e097dd6a4d5bfb08 (patch) | |
tree | b561ba5f5edd503dfdf0afa81be6cf94451cc9cf /sw/source/ui/config/mailconfigpage.cxx | |
parent | 86519381cd6c7df26087461680f5467aacdc89fc (diff) |
unwind ILIST ImageList
Change-Id: I260f4263db35f708891e26fa943c1fd6af402366
Diffstat (limited to 'sw/source/ui/config/mailconfigpage.cxx')
-rw-r--r-- | sw/source/ui/config/mailconfigpage.cxx | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/sw/source/ui/config/mailconfigpage.cxx b/sw/source/ui/config/mailconfigpage.cxx index c25da7b24e26..8c2a72be8b9d 100644 --- a/sw/source/ui/config/mailconfigpage.cxx +++ b/sw/source/ui/config/mailconfigpage.cxx @@ -35,6 +35,7 @@ #include <vcl/msgbox.hxx> #include <globals.hrc> #include <config.hrc> +#include <dbui.hrc> #include <helpid.h> using namespace ::com::sun::star; @@ -226,6 +227,8 @@ IMPL_LINK_NOARG(SwMailConfigPage, TestHdl, Button*, void) SwTestAccountSettingsDialog::SwTestAccountSettingsDialog(SwMailConfigPage* pParent) : SfxModalDialog(pParent, "TestMailSettings", "modules/swriter/ui/testmailsettings.ui") + , m_aCompletedImg(BitmapEx(SW_RES(RID_BMP_FORMULA_APPLY))) + , m_aFailedImg(BitmapEx(SW_RES(RID_BMP_FORMULA_CANCEL))) , m_pParent(pParent) , m_bStop(false) { @@ -244,10 +247,6 @@ SwTestAccountSettingsDialog::SwTestAccountSettingsDialog(SwMailConfigPage* pPare m_sCompleted = m_pResult1->GetText(); m_sFailed = m_pResult2->GetText(); - SfxImageManager* pManager = SfxImageManager::GetImageManager(*SW_MOD()); - m_aFailedImg = pManager->GetImage(FN_FORMULA_CANCEL); - m_aCompletedImg = pManager->GetImage(FN_FORMULA_APPLY); - m_pStopPB->SetClickHdl(LINK(this, SwTestAccountSettingsDialog, StopHdl)); Application::PostUserEvent( LINK( this, SwTestAccountSettingsDialog, TestHdl ), this, true ); |