sc/source/core/data/formulacell.cxx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)
New commits: commit aca48f46895811009ec90665d816ef835f0694be Author: Kohei <kohei.yosh...@collabora.com> Date: Fri Apr 28 20:12:51 2017 -0400 Let's be more specific about the threshold etc. Change-Id: Iaa644b38775477f8f6f329ab55d9d32414ee0738 Reviewed-on: https://gerrit.libreoffice.org/37089 Tested-by: Jenkins <c...@libreoffice.org> Reviewed-by: Kohei Yoshida <libreoff...@kohei.us> diff --git a/sc/source/core/data/formulacell.cxx b/sc/source/core/data/formulacell.cxx index 2088b007df7c..d1058fe4a7cb 100644 --- a/sc/source/core/data/formulacell.cxx +++ b/sc/source/core/data/formulacell.cxx @@ -4088,7 +4088,12 @@ bool ScFormulaCell::InterpretFormulaGroup() if (GetWeight() < ScInterpreter::GetGlobalConfig().mnOpenCLMinimumFormulaGroupSize) { mxGroup->meCalcState = sc::GroupCalcDisabled; - aScope.addMessage("group length below minimum threshold"); + std::ostringstream os; + os << "group length below minimum threshold (" + << GetWeight() + << " < " << ScInterpreter::GetGlobalConfig().mnOpenCLMinimumFormulaGroupSize + << ")"; + aScope.addMessage(OUString::createFromAscii(os.str().data())); return false; } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits