summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-11-20 10:14:49 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-11-20 10:14:49 +0100
commitab9add5c96490801a7e1761306c41131468db703 (patch)
tree5656edb0025ae0ae21088099c1b2c024d79069ab /sc
parentf208103998cfeffef239c66043184654c00dffda (diff)
loplugin:sallogareas
Change-Id: Ib1f06cb5f925535858bc14aab6f59ad7fd2a3a8d
Diffstat (limited to 'sc')
-rw-r--r--sc/source/core/opencl/formulagroupcl.cxx13
-rw-r--r--sc/source/core/tool/formulagroup.cxx2
2 files changed, 6 insertions, 9 deletions
diff --git a/sc/source/core/opencl/formulagroupcl.cxx b/sc/source/core/opencl/formulagroupcl.cxx
index 1b2932b9b61d..fcb52863075b 100644
--- a/sc/source/core/opencl/formulagroupcl.cxx
+++ b/sc/source/core/opencl/formulagroupcl.cxx
@@ -3777,14 +3777,11 @@ void DynamicKernel::CodeGen()
decl << ") {\n\tint gid0 = get_global_id(0);\n\tresult[gid0] = " <<
DK->GenSlidingWindowDeclRef() << ";\n}\n";
mFullProgramSrc = decl.str();
-#ifdef SAL_LOG_INFO
- std::stringstream area;
- if (mKernelSignature[0] == '_')
- area << "sc.opencl.source." << mKernelSignature.substr(1, std::string::npos);
- else
- area << "sc.opencl.source." << mKernelSignature;
- SAL_INFO(area.str().c_str(), "Program to be compiled:\n" << linenumberify(mFullProgramSrc));
-#endif
+ SAL_INFO(
+ "sc.opencl.source",
+ (mKernelSignature[0] == '_'
+ ? mKernelSignature.substr(1, std::string::npos) : mKernelSignature)
+ << " program to be compiled:\n" << linenumberify(mFullProgramSrc));
}
std::string DynamicKernel::GetMD5()
diff --git a/sc/source/core/tool/formulagroup.cxx b/sc/source/core/tool/formulagroup.cxx
index a436c895fd5d..2cd6fb3557f6 100644
--- a/sc/source/core/tool/formulagroup.cxx
+++ b/sc/source/core/tool/formulagroup.cxx
@@ -479,7 +479,7 @@ FormulaGroupInterpreter *FormulaGroupInterpreter::getStatic()
if ( !msInstance && bAllowSoftwareInterpreter ) // software fallback
{
- SAL_INFO("sc.formulagroup", "Create S/W interpreter");
+ SAL_INFO("sc.core.formulagroup", "Create S/W interpreter");
msInstance = new sc::FormulaGroupInterpreterSoftware();
}
}