diff options
author | Andreas Heinisch <andreas.heinisch@yahoo.de> | 2020-03-09 11:53:50 +0100 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2020-04-02 12:57:57 +0200 |
commit | 84b884135ee419fe7abfefa7b4b651a649cf9ad9 (patch) | |
tree | a5ba5d8e81d832c30099e7fe76764a48caf43f4e /include/basic | |
parent | 0ec042dd2488989e7a9c45309b408ec8b8326208 (diff) |
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 <mike.kaganski@collabora.com>
Diffstat (limited to 'include/basic')
-rw-r--r-- | include/basic/sbxdef.hxx | 3 |
1 files changed, 3 insertions, 0 deletions
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; |