summaryrefslogtreecommitdiff
path: root/uui
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-02-26 13:11:03 +0000
committerCaolán McNamara <caolanm@redhat.com>2018-02-26 22:15:19 +0100
commitcc92324bed7f039e91d07d241f958ad773582c48 (patch)
tree0f93a0dea97c9110cbbf88b15a6108500658b62f /uui
parent28488c94d697f169baaf4c67bf2c71287b503c43 (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 'uui')
-rw-r--r--uui/source/secmacrowarnings.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/uui/source/secmacrowarnings.cxx b/uui/source/secmacrowarnings.cxx
index 1641a3a59ef7..6c2ae03f53d6 100644
--- a/uui/source/secmacrowarnings.cxx
+++ b/uui/source/secmacrowarnings.cxx
@@ -164,7 +164,7 @@ IMPL_LINK_NOARG(MacroWarning, AlwaysTrustCheckHdl, Button*, void)
void MacroWarning::InitControls()
{
// set warning image
- Image aImg( WarningBox::GetStandardImage() );
+ Image aImg(GetStandardWarningBoxImage());
mpSymbolImg->SetImage( aImg );
mpSymbolImg->SetSizePixel( aImg.GetSizePixel() );
// set bold font and path ellipsis for docname fixedtext