diff options
author | Caolán McNamara <caolanm@redhat.com> | 2018-02-26 13:11:03 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2018-02-26 22:15:19 +0100 |
commit | cc92324bed7f039e91d07d241f958ad773582c48 (patch) | |
tree | 0f93a0dea97c9110cbbf88b15a6108500658b62f /cui | |
parent | 28488c94d697f169baaf4c67bf2c71287b503c43 (diff) |
split out GetStandardWarningBoxImage
Change-Id: I2c8315c7223adac2d7e0e2aa403db0f865bdc48e
Reviewed-on: https://gerrit.libreoffice.org/50377
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/customize/cfg.cxx | 4 | ||||
-rw-r--r-- | cui/source/tabpages/tplnedef.cxx | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/cui/source/customize/cfg.cxx b/cui/source/customize/cfg.cxx index 7d5ce9d4da6b..f26bbd6ff085 100644 --- a/cui/source/customize/cfg.cxx +++ b/cui/source/customize/cfg.cxx @@ -3426,7 +3426,7 @@ SvxIconReplacementDialog::SvxIconReplacementDialog( MessBox( pWindow, MessBoxStyle::DefaultYes, 0, CuiResId( RID_SVXSTR_REPLACE_ICON_CONFIRM ), CuiResId( RID_SVXSTR_REPLACE_ICON_WARNING ) ) { - SetImage( WarningBox::GetStandardImage() ); + SetImage( GetStandardWarningBoxImage() ); SetMessText( ReplaceIconName( aMessage ) ); RemoveButton( 1 ); AddButton( StandardButtonType::Yes, 2); @@ -3439,7 +3439,7 @@ SvxIconReplacementDialog::SvxIconReplacementDialog( vcl::Window *pWindow, const OUString& aMessage ) : MessBox( pWindow, MessBoxStyle::YesNoCancel, 0, CuiResId( RID_SVXSTR_REPLACE_ICON_CONFIRM ), CuiResId( RID_SVXSTR_REPLACE_ICON_WARNING ) ) { - SetImage( WarningBox::GetStandardImage() ); + SetImage( GetStandardWarningBoxImage() ); SetMessText( ReplaceIconName( aMessage )); } diff --git a/cui/source/tabpages/tplnedef.cxx b/cui/source/tabpages/tplnedef.cxx index 4c2ba2cd428e..ae5981659394 100644 --- a/cui/source/tabpages/tplnedef.cxx +++ b/cui/source/tabpages/tplnedef.cxx @@ -239,7 +239,7 @@ void SvxLineDefTabPage::CheckChanges_Impl() m_pLbType2->IsValueChangedFromSaved() || m_pMtrDistance->IsValueChangedFromSaved() ) { - Image aWarningBoxImage = WarningBox::GetStandardImage(); + Image aWarningBoxImage = GetStandardWarningBoxImage(); ScopedVclPtrInstance<SvxMessDialog> aMessDlg( GetParentDialog(), SvxResId( RID_SVXSTR_LINESTYLE ), CuiResId(RID_SVXSTR_ASK_CHANGE_LINESTYLE), |