summaryrefslogtreecommitdiff
path: root/sw/inc/calc.hxx
diff options
context:
space:
mode:
authorLászló Németh <nemeth@numbertext.org>2020-08-25 17:22:43 +0200
committerLászló Németh <nemeth@numbertext.org>2020-08-26 09:55:54 +0200
commitc31b436c86c0d4d287725708732c14357ed5583a (patch)
treef9724882235c54666b7cc07e1fa1bb7355ce097d /sw/inc/calc.hxx
parentbbd5be1dc5ecfe38c66739daeea8e2e6fa1164d3 (diff)
tdf#123401 DOCX: fix table formula AVERAGE
by adding AVERAGE as an alternative name of MEAN, and by converting MEAN to AVERAGE during DOCX export. Change-Id: I691618141a67f19f5823d8a214169c15f2ac6cce Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101336 Tested-by: László Németh <nemeth@numbertext.org> Reviewed-by: László Németh <nemeth@numbertext.org>
Diffstat (limited to 'sw/inc/calc.hxx')
-rw-r--r--sw/inc/calc.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sw/inc/calc.hxx b/sw/inc/calc.hxx
index b0f45af20c3f..a8eb9c18933a 100644
--- a/sw/inc/calc.hxx
+++ b/sw/inc/calc.hxx
@@ -54,7 +54,7 @@ enum SwCalcOper
CALC_COS=274, CALC_TAN=275, CALC_ASIN=276,
CALC_ACOS=278, CALC_ATAN=279, CALC_TDIF=280,
CALC_ROUND=281, CALC_DATE=282, CALC_MONTH=283,
- CALC_DAY=284, CALC_PRODUCT=285
+ CALC_DAY=284, CALC_PRODUCT=285, CALC_AVERAGE=286
};
// Calculate Operations Strings
@@ -77,6 +77,7 @@ extern const char sCalc_L[];
extern const char sCalc_G[];
extern const char sCalc_Sum[];
extern const char sCalc_Mean[];
+extern const char sCalc_Average[];
extern const char sCalc_Product[];
extern const char sCalc_Min[];
extern const char sCalc_Max[];