From 84b884135ee419fe7abfefa7b4b651a649cf9ad9 Mon Sep 17 00:00:00 2001 From: Andreas Heinisch Date: Mon, 9 Mar 2020 11:53:50 +0100 Subject: tdf#79426, tdf#125180 - Don't convert missing parameters to requested type If a particular parameter type is requested during the construction of a parameter list, don't convert missing parameters to avoid implicit casting to the specified data type and value of the method. Missing parameters are handled in StepEMPTY, where additional information about missing parameters is added. Change-Id: Ia413b2996d7d1feecedc1dfefaf6baf0fd9d917e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90215 Tested-by: Jenkins Reviewed-by: Mike Kaganski --- include/basic/sbxdef.hxx | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/basic') diff --git a/include/basic/sbxdef.hxx b/include/basic/sbxdef.hxx index 2acbac0c98be..6c7a5a8c0bd1 100644 --- a/include/basic/sbxdef.hxx +++ b/include/basic/sbxdef.hxx @@ -78,6 +78,9 @@ enum SbxDataType { SbxVECTOR = 0x1000, // simple counted array SbxARRAY = 0x2000, // array SbxBYREF = 0x4000, // access by reference + + // tdf#79426, tdf#125180 + SbxMISSING = 0x8000, // Parameter is missing }; const sal_uInt32 SBX_TYPE_WITH_EVENTS_FLAG = 0x10000; -- cgit