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