From c7aa57bc6b35a27aba265ce548397f282541253f Mon Sep 17 00:00:00 2001 From: Kohei Yoshida Date: Thu, 3 Nov 2016 19:42:22 -0400 Subject: [PATCH] Output the header information to the formula log. The header information for now contains relevant formula calculation configuration settings. Change-Id: Ia6f8b84a3a6fa448708b9a78957002481c3a1c67 --- sc/source/core/tool/formulalogger.cxx | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/sc/source/core/tool/formulalogger.cxx b/sc/source/core/tool/formulalogger.cxx index c7ae53baa528..7b5b916f9666 100644 --- a/sc/source/core/tool/formulalogger.cxx +++ b/sc/source/core/tool/formulalogger.cxx @@ -152,7 +152,14 @@ FormulaLogger::FormulaLogger() return; } + // Output the header information. writeAscii("---\n"); + writeAscii("OpenCL: "); + writeAscii(ScCalcConfig::isOpenCLEnabled() ? "enabled\n" : "disabled\n"); + writeAscii("Software Interpreter: "); + writeAscii(ScCalcConfig::isSwInterpreterEnabled() ? "enabled\n" : "disabled\n"); + writeAscii("---\n"); + sync(); }