diff options
author | Eike Rathke <erack@redhat.com> | 2014-01-13 18:02:21 +0100 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2014-01-13 18:08:52 +0100 |
commit | 9570a27d3e2f56e9046a8bfacaafe9e3c9744ac5 (patch) | |
tree | afb0fa0fcf81139fd4b33ac8140b34f6d4f65c2c /sc/source/ui/StatisticsDialogs/ExponentialSmoothingDialog.cxx | |
parent | 01f3186c4b8357e7a3784e0249aaee1af381f609 (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.cxx | 3 |
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 |