From 50761e3c3da45772473f3329d5a7519b34fb1106 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Tue, 8 Sep 2020 11:17:45 +0100 Subject: tdf#134477 add VclMessageType::Other to indicate image-less generic InfoBox MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I76e86bf4d82b33771ea2900517712be57ae7f03d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/102232 Tested-by: Jenkins Reviewed-by: Caolán McNamara --- basic/source/runtime/methods.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'basic') diff --git a/basic/source/runtime/methods.cxx b/basic/source/runtime/methods.cxx index 91c279d477b4..78dcbf5097d6 100644 --- a/basic/source/runtime/methods.cxx +++ b/basic/source/runtime/methods.cxx @@ -4380,7 +4380,7 @@ void SbRtl_MsgBox(StarBASIC *, SbxArray & rPar, bool) vcl::Window* pParentWin = Application::GetDefDialogParent(); weld::Widget* pParent = pParentWin ? pParentWin->GetFrameWeld() : nullptr; - VclMessageType eType = VclMessageType::Info; + VclMessageType eType = VclMessageType::Other; switch (nDialogType) { @@ -4394,7 +4394,6 @@ void SbRtl_MsgBox(StarBASIC *, SbxArray & rPar, bool) eType = VclMessageType::Warning; break; case 64: - default: eType = VclMessageType::Info; break; } -- cgit v1.2.3