diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2022-01-22 14:31:00 +0100 |
---|---|---|
committer | Adolfo Jayme Barrientos <fitojb@ubuntu.com> | 2022-01-23 05:04:08 +0100 |
commit | 6e6fcc5ed141b25acee31686ee8792b0507e75c5 (patch) | |
tree | 9b9829c700de85b958d0d41545a6f322d9b75921 /basic | |
parent | a4fb21c5275028378f639150ed1bcc26e1c3836f (diff) |
Related tdf#146909: add missing IDIGNORE in Basic
Change-Id: Idbbceb2f5375d47c942bab70ce81f7be79b17478
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128780
(cherry picked from commit c1205c1cf6e08d94e6e2e2753679d99bc1842ca0)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128685
Tested-by: Jenkins
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
Diffstat (limited to 'basic')
-rw-r--r-- | basic/source/inc/rtlproto.hxx | 1 | ||||
-rw-r--r-- | basic/source/runtime/props.cxx | 2 | ||||
-rw-r--r-- | basic/source/runtime/stdobj.cxx | 1 |
3 files changed, 3 insertions, 1 deletions
diff --git a/basic/source/inc/rtlproto.hxx b/basic/source/inc/rtlproto.hxx index 0bc7ac24a4ec..7347ead45dc1 100644 --- a/basic/source/inc/rtlproto.hxx +++ b/basic/source/inc/rtlproto.hxx @@ -72,6 +72,7 @@ extern void SbRtl_IDOK(StarBASIC * pBasic, SbxArray & rPar, bool bWrite); extern void SbRtl_IDCANCEL(StarBASIC * pBasic, SbxArray & rPar, bool bWrite); extern void SbRtl_IDABORT(StarBASIC * pBasic, SbxArray & rPar, bool bWrite); extern void SbRtl_IDRETRY(StarBASIC * pBasic, SbxArray & rPar, bool bWrite); +extern void SbRtl_IDIGNORE(StarBASIC * pBasic, SbxArray & rPar, bool bWrite); extern void SbRtl_IDYES(StarBASIC * pBasic, SbxArray & rPar, bool bWrite); extern void SbRtl_IDNO(StarBASIC * pBasic, SbxArray & rPar, bool bWrite); diff --git a/basic/source/runtime/props.cxx b/basic/source/runtime/props.cxx index f3d84a0127b5..2ee76ccb619d 100644 --- a/basic/source/runtime/props.cxx +++ b/basic/source/runtime/props.cxx @@ -104,10 +104,10 @@ void SbRtl_MB_APPLMODAL(StarBASIC*, SbxArray& rPar, bool) { rPar.Get(0)->PutInte void SbRtl_MB_SYSTEMMODAL(StarBASIC*, SbxArray& rPar, bool) { rPar.Get(0)->PutInteger(4096); } void SbRtl_IDOK(StarBASIC*, SbxArray& rPar, bool) { rPar.Get(0)->PutInteger(1); } - void SbRtl_IDCANCEL(StarBASIC*, SbxArray& rPar, bool) { rPar.Get(0)->PutInteger(2); } void SbRtl_IDABORT(StarBASIC*, SbxArray& rPar, bool) { rPar.Get(0)->PutInteger(3); } void SbRtl_IDRETRY(StarBASIC*, SbxArray& rPar, bool) { rPar.Get(0)->PutInteger(4); } +void SbRtl_IDIGNORE(StarBASIC*, SbxArray& rPar, bool) { rPar.Get(0)->PutInteger(5); } void SbRtl_IDYES(StarBASIC*, SbxArray& rPar, bool) { rPar.Get(0)->PutInteger(6); } void SbRtl_IDNO(StarBASIC*, SbxArray& rPar, bool) { rPar.Get(0)->PutInteger(7); } diff --git a/basic/source/runtime/stdobj.cxx b/basic/source/runtime/stdobj.cxx index 0bb572bbcd33..4adda6efafec 100644 --- a/basic/source/runtime/stdobj.cxx +++ b/basic/source/runtime/stdobj.cxx @@ -451,6 +451,7 @@ constexpr Method aMethods[] = { { u"IDABORT", SbxINTEGER, CPROP_, SbRtl_IDABORT }, { u"IDCANCEL", SbxINTEGER, CPROP_, SbRtl_IDCANCEL }, +{ u"IDIGNORE", SbxINTEGER, CPROP_, SbRtl_IDIGNORE }, { u"IDNO", SbxINTEGER, CPROP_, SbRtl_IDNO }, { u"IDOK", SbxINTEGER, CPROP_, SbRtl_IDOK }, { u"IDRETRY", SbxINTEGER, CPROP_, SbRtl_IDRETRY }, |