summaryrefslogtreecommitdiffstats
path: root/basic
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-09-08 11:17:45 +0100
committerAdolfo Jayme Barrientos <fitojb@ubuntu.com>2020-09-09 11:14:05 +0200
commit03843109282186b036c6525fae513233983708fc (patch)
treeef7f82b8d79099390752c2c2e2b5d284c2ae1962 /basic
parentxmlsecurity: avoid saying OK when the signature is partial (diff)
downloadcore-03843109282186b036c6525fae513233983708fc.tar.gz
core-03843109282186b036c6525fae513233983708fc.zip
tdf#134477 add VclMessageType::Other to indicate image-less generic InfoBox
Change-Id: I76e86bf4d82b33771ea2900517712be57ae7f03d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/102130 Tested-by: Jenkins Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
Diffstat (limited to 'basic')
-rw-r--r--basic/source/runtime/methods.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/basic/source/runtime/methods.cxx b/basic/source/runtime/methods.cxx
index e2ed754122c6..30ad9dc10188 100644
--- a/basic/source/runtime/methods.cxx
+++ b/basic/source/runtime/methods.cxx
@@ -4402,7 +4402,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)
{
@@ -4416,7 +4416,6 @@ void SbRtl_MsgBox(StarBASIC *, SbxArray & rPar, bool)
eType = VclMessageType::Warning;
break;
case 64:
- default:
eType = VclMessageType::Info;
break;
}