summaryrefslogtreecommitdiff
path: root/oovbaapi
diff options
context:
space:
mode:
authorJustin Luth <justin.luth@collabora.com>2022-10-13 17:22:52 -0400
committerMiklos Vajna <vmiklos@collabora.com>2022-10-17 14:14:53 +0200
commit55628d6b258f77eac8a34a1a8f6bbcbf09fd97cc (patch)
tree2d714107e7afadf9faf22c1f2df01bf1cb9bb8ed /oovbaapi
parentdaa85533cf377a8ec2585f5d45e4d0127f74cdf8 (diff)
sw vba: add WordBasic.MsgBox
The unit test just consists of adding a "WordBasic.MsgBox()" to the vba code in testVBA.docm. make CppunitTest_sw_macros_test or just open the file manually for an easy-to-run experience. Change-Id: I38edfee42649fcc85f0f535a2c9861c45038fa0e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141347 Tested-by: Jenkins Reviewed-by: Justin Luth <jluth@mail.com> Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'oovbaapi')
-rw-r--r--oovbaapi/ooo/vba/word/XWordBasic.idl1
1 files changed, 1 insertions, 0 deletions
diff --git a/oovbaapi/ooo/vba/word/XWordBasic.idl b/oovbaapi/ooo/vba/word/XWordBasic.idl
index 66c867f09364..7cc1efe8bd56 100644
--- a/oovbaapi/ooo/vba/word/XWordBasic.idl
+++ b/oovbaapi/ooo/vba/word/XWordBasic.idl
@@ -42,6 +42,7 @@ interface XWordBasic
any DocMaximize( [in] any State );
void AppShow( [in] any WindowName );
any AppCount();
+ void MsgBox( [in] string Prompt );
void ScreenUpdating( [in] /*optional*/ any On );
};