summaryrefslogtreecommitdiff
path: root/reportbuilder
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2017-07-05 13:44:08 +0200
committerEike Rathke <erack@redhat.com>2017-07-05 13:47:55 +0200
commit91287c7456b1bc7060a0f1f08902960eb7a868dc (patch)
treeebacd895ab46cf9a984d438b12f552359b92047f /reportbuilder
parentddf8d9a150e3e1725de65577c48d47918b4b11a8 (diff)
Enable the Formula Wizard to display 255 argument fields
Previously it was, for example for SUM, 1 2 3 ... 28 29 30,31,32,33,...,253,254,255 ie. for more than 30 parameters the exceeding ones were crammed into the last (30th) edit field. The expression still worked, but this was ugly, and selecting the last field it was easy to overwrite all remaining arguments at once. Change-Id: I6b27a20e7f07d3a6b4752855f04d6239e6375418
Diffstat (limited to 'reportbuilder')
-rw-r--r--reportbuilder/java/org/libreoffice/report/pentaho/StarFunctionDescription.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/reportbuilder/java/org/libreoffice/report/pentaho/StarFunctionDescription.java b/reportbuilder/java/org/libreoffice/report/pentaho/StarFunctionDescription.java
index 96c4346e9989..2eddaf307ae9 100644
--- a/reportbuilder/java/org/libreoffice/report/pentaho/StarFunctionDescription.java
+++ b/reportbuilder/java/org/libreoffice/report/pentaho/StarFunctionDescription.java
@@ -153,7 +153,7 @@ public final class StarFunctionDescription extends WeakBase
if (infinite)
{
// Identical value as VAR_ARGS from formula/funcvarargs.h
- count = 30;
+ count = 255;
}
final FunctionArgument[] args = new FunctionArgument[count];
for (int i = 0; i < args.length; i++)