From 4b57b76b6e0200a1fbbf40b98ff1d05793223287 Mon Sep 17 00:00:00 2001 From: Kohei Yoshida Date: Sat, 12 Nov 2016 17:10:56 -0500 Subject: [PATCH] Let's not dump formula results. It could be too verbose. Change-Id: I5f2da92e78bb069f3bb0c9c07bb3eae6d990f810 --- sc/source/core/data/column2.cxx | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/sc/source/core/data/column2.cxx b/sc/source/core/data/column2.cxx index 1d63bf6a3ca2..9c7eb79e564b 100644 --- a/sc/source/core/data/column2.cxx +++ b/sc/source/core/data/column2.cxx @@ -1567,6 +1567,8 @@ void ScColumn::CellStorageModified() namespace { +#define DUMP_FORMULA_RESULTS 0 + struct FormulaGroupDumper : std::unary_function { const ScDocument* mpDoc; @@ -1620,9 +1622,10 @@ struct FormulaGroupDumper : std::unary_functionGetGrammar()); OUString aFormula = pCell->GetCode()->CreateString(aCxt, pCell->aPos); - cout << " * formula: " << aFormula << endl; + cout << " * formula: " << aFormula << endl; } +#if DUMP_FORMULA_RESULTS void printResult(const ScFormulaCell* pCell) const { sc::FormulaResultValue aRes = pCell->GetResult(); @@ -1645,6 +1648,9 @@ struct FormulaGroupDumper : std::unary_function