basic/source/inc/rtlproto.hxx | 1 + basic/source/runtime/props.cxx | 2 +- basic/source/runtime/stdobj.cxx | 1 + 3 files changed, 3 insertions(+), 1 deletion(-)
New commits: commit 6e6fcc5ed141b25acee31686ee8792b0507e75c5 Author: Julien Nabet <serval2...@yahoo.fr> AuthorDate: Sat Jan 22 14:31:00 2022 +0100 Commit: Adolfo Jayme Barrientos <fit...@ubuntu.com> CommitDate: Sun Jan 23 05:04:08 2022 +0100 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 <fit...@ubuntu.com> 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 },