summaryrefslogtreecommitdiff
path: root/formula
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2017-07-04 13:04:38 +0200
committerEike Rathke <erack@redhat.com>2017-07-04 13:04:58 +0200
commita5bff392177d2355a428d9d53a048500230e06c9 (patch)
treea1bb8dfbcbaeb1ae36ffc92a111fd99d5ea69f58 /formula
parent9f4421039a40f385489cb2f3ad8a1b02fb32251c (diff)
Move definition of VAR_ARGS and PAIRED_VAR_ARGS to formula/funcvarargs.h
... to have it at one central place instead of two. And add comments why changing the value is not just easily done. Change-Id: I266ea55c79c02a653a0704c33f9fa712bbcd104e
Diffstat (limited to 'formula')
-rw-r--r--formula/source/ui/dlg/parawin.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/formula/source/ui/dlg/parawin.cxx b/formula/source/ui/dlg/parawin.cxx
index f10343a3a5d4..b5fe5d0059be 100644
--- a/formula/source/ui/dlg/parawin.cxx
+++ b/formula/source/ui/dlg/parawin.cxx
@@ -25,12 +25,11 @@
#include "parawin.hxx"
#include "formula/formdata.hxx"
#include "formula/IFunctionDescription.hxx"
+#include <formula/funcvarargs.h>
#include "ModuleHelper.hxx"
#include "ForResId.hrc"
#include "bitmaps.hlst"
-#define VAR_ARGS 30
-#define PAIRED_VAR_ARGS (VAR_ARGS + VAR_ARGS)
namespace formula
{