diff options
author | Eike Rathke <erack@redhat.com> | 2020-05-29 15:45:12 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2020-05-30 02:43:23 +0200 |
commit | f92220b73d971e9d760c545efd60179ad1b6902a (patch) | |
tree | 7a10ed0d7b8af003cf2cc6dd7bef17fea1eb7b53 /reportdesign | |
parent | 575e938641c643e58fea8e7bdabfee87daeffedd (diff) |
Related: tdf#131423 CHOOSE() supports only 30 jump targets, limit in dialog
Change-Id: Ic3506ee6194ac4e74e572a10db96f100bc9e6ac2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/95149
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Jenkins
(cherry picked from commit f2c6bc3c1ba640f95555151607dfe9da502d506a)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/95123
Diffstat (limited to 'reportdesign')
-rw-r--r-- | reportdesign/source/ui/inc/FunctionHelper.hxx | 1 | ||||
-rw-r--r-- | reportdesign/source/ui/misc/FunctionHelper.cxx | 5 |
2 files changed, 6 insertions, 0 deletions
diff --git a/reportdesign/source/ui/inc/FunctionHelper.hxx b/reportdesign/source/ui/inc/FunctionHelper.hxx index df18ed34cb36..8eea9632b65f 100644 --- a/reportdesign/source/ui/inc/FunctionHelper.hxx +++ b/reportdesign/source/ui/inc/FunctionHelper.hxx @@ -74,6 +74,7 @@ public: virtual bool isHidden() const override; virtual sal_uInt32 getParameterCount() const override ; virtual sal_uInt32 getVarArgsStart() const override; + virtual sal_uInt32 getVarArgsLimit() const override; virtual OUString getParameterName(sal_uInt32 _nPos) const override ; virtual OUString getParameterDescription(sal_uInt32 _nPos) const override ; virtual bool isParameterOptional(sal_uInt32 _nPos) const override ; diff --git a/reportdesign/source/ui/misc/FunctionHelper.cxx b/reportdesign/source/ui/misc/FunctionHelper.cxx index 00043d4a94fd..c9cfbbd4ba72 100644 --- a/reportdesign/source/ui/misc/FunctionHelper.cxx +++ b/reportdesign/source/ui/misc/FunctionHelper.cxx @@ -235,6 +235,11 @@ sal_uInt32 FunctionDescription::getVarArgsStart() const return nLen ? nLen - 1 : 0; } +sal_uInt32 FunctionDescription::getVarArgsLimit() const +{ + return 0; +} + OUString FunctionDescription::getParameterName(sal_uInt32 _nPos) const { if ( _nPos < o3tl::make_unsigned(m_aParameter.getLength()) ) |