summaryrefslogtreecommitdiff
path: root/basic/source/runtime/stdobj.cxx
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2024-08-04 07:50:34 +0500
committerMike Kaganski <mike.kaganski@collabora.com>2024-08-04 06:45:14 +0200
commit45290d41fbd82a9b5846e456eaaa5c27b3d2c8c1 (patch)
tree8bf9aa83623ccc969e8af7031ec3139dd32b628f /basic/source/runtime/stdobj.cxx
parent055c906d7b3f2e3709292d1410358d4e66a500ed (diff)
Clarify MsgBox buttons handling code
Change-Id: I0095b4b5312c851f1f64ec013c64f26e1b24ce09 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/171454 Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com> Tested-by: Jenkins
Diffstat (limited to 'basic/source/runtime/stdobj.cxx')
-rw-r--r--basic/source/runtime/stdobj.cxx14
1 files changed, 7 insertions, 7 deletions
diff --git a/basic/source/runtime/stdobj.cxx b/basic/source/runtime/stdobj.cxx
index 27f6deddc93f..a8284479d0e4 100644
--- a/basic/source/runtime/stdobj.cxx
+++ b/basic/source/runtime/stdobj.cxx
@@ -463,13 +463,13 @@ constexpr Method aMethods[] = {
arg(u"Date", SbxDATE),
// Related to: MsgBox (return value)
-{ u"IDABORT", SbxINTEGER, CPROP_, ConstInt<SbMBID::ABORT> },
-{ u"IDCANCEL", SbxINTEGER, CPROP_, ConstInt<SbMBID::CANCEL> },
-{ u"IDIGNORE", SbxINTEGER, CPROP_, ConstInt<SbMBID::IGNORE> },
-{ u"IDNO", SbxINTEGER, CPROP_, ConstInt<SbMBID::NO> },
-{ u"IDOK", SbxINTEGER, CPROP_, ConstInt<SbMBID::OK> },
-{ u"IDRETRY", SbxINTEGER, CPROP_, ConstInt<SbMBID::RETRY> },
-{ u"IDYES", SbxINTEGER, CPROP_, ConstInt<SbMBID::YES> },
+{ u"IDABORT", SbxINTEGER, CPROP_, ConstInt<SbMB::Response::ABORT> },
+{ u"IDCANCEL", SbxINTEGER, CPROP_, ConstInt<SbMB::Response::CANCEL> },
+{ u"IDIGNORE", SbxINTEGER, CPROP_, ConstInt<SbMB::Response::IGNORE> },
+{ u"IDNO", SbxINTEGER, CPROP_, ConstInt<SbMB::Response::NO> },
+{ u"IDOK", SbxINTEGER, CPROP_, ConstInt<SbMB::Response::OK> },
+{ u"IDRETRY", SbxINTEGER, CPROP_, ConstInt<SbMB::Response::RETRY> },
+{ u"IDYES", SbxINTEGER, CPROP_, ConstInt<SbMB::Response::YES> },
{ u"Iif", SbxVARIANT, 3 | FUNCTION_, SbRtl_Iif },
arg(u"Bool", SbxBOOL),