diff options
author | Eike Rathke <erack@redhat.com> | 2015-12-17 15:12:06 +0100 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2015-12-17 15:14:43 +0100 |
commit | 4eea9f214682008052424479a4b1f8cf90a79132 (patch) | |
tree | dc22d6d9e765da9072cb60ed01f8a9b9ec4b8064 /sc/inc | |
parent | db1e34aecd4290623a74b9bbeb602e072b1a49ec (diff) |
handle varargs with first required and subsequent optional, tdf#71459 related
Change-Id: I56c66f516ba2a2e12cab4848c8c352315f27b3bb
Diffstat (limited to 'sc/inc')
-rw-r--r-- | sc/inc/funcdesc.hxx | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/sc/inc/funcdesc.hxx b/sc/inc/funcdesc.hxx index cda94fac37b3..1c2bccda5bc6 100644 --- a/sc/inc/funcdesc.hxx +++ b/sc/inc/funcdesc.hxx @@ -105,11 +105,18 @@ public: /** Returns number of arguments - @return help id of the function + @return number of arguments */ virtual sal_uInt32 getParameterCount() const override ; /** + Returns start of variable arguments + + @return start of variable arguments + */ + virtual sal_uInt32 getVarArgsStart() const override ; + + /** Returns description of parameter at given position @param _nPos @@ -205,6 +212,7 @@ public: sal_uInt16 nFIndex; /**< Unique function index */ sal_uInt16 nCategory; /**< Function category */ sal_uInt16 nArgCount; /**< All parameter count, suppressed and unsuppressed */ + sal_uInt16 nVarArgsStart; /**< Start of variable arguments, for numbering */ OString sHelpId; /**< HelpId of function */ bool bIncomplete :1; /**< Incomplete argument info (set for add-in info from configuration) */ bool bHasSuppressedArgs :1; /**< Whether there is any suppressed parameter. */ |