summaryrefslogtreecommitdiff
path: root/vcl/source/window/layout.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-05-12 12:34:16 +0100
committerCaolán McNamara <caolanm@redhat.com>2018-05-12 18:16:16 +0200
commita4ca3023e22e2435d16e905696e5dad589f3f47d (patch)
treed0317a512db23d275f8271a4cff81e7e556adf35 /vcl/source/window/layout.cxx
parent5af60152d623aaa6e9c71c0cda0c2a8407e78fc9 (diff)
unnecessary duplicate SetImage
Change-Id: Ie337eeae3c8295c4d7e62401f438c50d5bfc9693 Reviewed-on: https://gerrit.libreoffice.org/54159 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl/source/window/layout.cxx')
-rw-r--r--vcl/source/window/layout.cxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/vcl/source/window/layout.cxx b/vcl/source/window/layout.cxx
index 432796da766d..8f8e82975b25 100644
--- a/vcl/source/window/layout.cxx
+++ b/vcl/source/window/layout.cxx
@@ -2355,7 +2355,6 @@ MessageDialog::MessageDialog(vcl::Window* pParent,
break;
case VclMessageType::Question:
SetText(GetStandardQueryBoxText());
- m_pImage->SetImage(GetStandardQueryBoxImage());
break;
case VclMessageType::Error:
SetText(GetStandardErrorBoxText());