From 9570a27d3e2f56e9046a8bfacaafe9e3c9744ac5 Mon Sep 17 00:00:00 2001 From: Eike Rathke Date: Mon, 13 Jan 2014 18:02:21 +0100 Subject: 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 --- sc/source/ui/StatisticsDialogs/ExponentialSmoothingDialog.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sc/source/ui/StatisticsDialogs/ExponentialSmoothingDialog.cxx') 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 -- cgit