summaryrefslogtreecommitdiff
path: root/sc/source/ui/StatisticsDialogs/ExponentialSmoothingDialog.cxx
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2014-01-13 18:02:21 +0100
committerEike Rathke <erack@redhat.com>2014-01-13 18:08:52 +0100
commit9570a27d3e2f56e9046a8bfacaafe9e3c9744ac5 (patch)
treeafb0fa0fcf81139fd4b33ac8140b34f6d4f65c2c /sc/source/ui/StatisticsDialogs/ExponentialSmoothingDialog.cxx
parent01f3186c4b8357e7a3784e0249aaee1af381f609 (diff)
resolved fdo#73555 compile statistics templates using English grammar
The statistics templates' formula expressions are setup using English function names, so compile the resulting expressions using an English grammar merged with the current address conventions. Change-Id: I7c782a42d007daeaaf99463beb8aa580c05c7363
Diffstat (limited to 'sc/source/ui/StatisticsDialogs/ExponentialSmoothingDialog.cxx')
-rw-r--r--sc/source/ui/StatisticsDialogs/ExponentialSmoothingDialog.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sc/source/ui/StatisticsDialogs/ExponentialSmoothingDialog.cxx b/sc/source/ui/StatisticsDialogs/ExponentialSmoothingDialog.cxx
index be6de68dcd21..6b20afd2ccc5 100644
--- a/sc/source/ui/StatisticsDialogs/ExponentialSmoothingDialog.cxx
+++ b/sc/source/ui/StatisticsDialogs/ExponentialSmoothingDialog.cxx
@@ -52,7 +52,8 @@ sal_Int16 ScExponentialSmoothingDialog::GetUndoNameId()
ScRange ScExponentialSmoothingDialog::ApplyOutput(ScDocShell* pDocShell)
{
- AddressWalkerWriter output(mOutputAddress, pDocShell, mDocument);
+ AddressWalkerWriter output(mOutputAddress, pDocShell, mDocument,
+ formula::FormulaGrammar::mergeToGrammar( formula::FormulaGrammar::GRAM_ENGLISH, mAddressDetails.eConv));
FormulaTemplate aTemplate(mDocument, mAddressDetails);
// Smoothing factor