[Libreoffice-commits] core.git: sc/source

Noel Grandin noel at peralex.com
Fri Nov 20 03:15:38 PST 2015


 sc/source/core/opencl/formulagroupcl.cxx |    2 --
 1 file changed, 2 deletions(-)

New commits:
commit cd5c79905651c7052adb44f39f2a3ce3ee24186f
Author: Noel Grandin <noel at peralex.com>
Date:   Fri Nov 20 13:14:32 2015 +0200

    fix build
    
    arguments to SAL_INFO are evaluated even when logging is off
    
    Change-Id: Ib0d391c0f080760be83f6e17dc0772b14f41fd4d

diff --git a/sc/source/core/opencl/formulagroupcl.cxx b/sc/source/core/opencl/formulagroupcl.cxx
index fcb5286..49360df 100644
--- a/sc/source/core/opencl/formulagroupcl.cxx
+++ b/sc/source/core/opencl/formulagroupcl.cxx
@@ -145,7 +145,6 @@ std::string StackVarEnumToString(StackVar const e)
     return std::to_string(static_cast<int>(e));
 }
 
-#ifdef SAL_LOG_INFO
 std::string linenumberify(const std::string& s)
 {
     std::stringstream ss;
@@ -161,7 +160,6 @@ std::string linenumberify(const std::string& s)
         ss << "/*" << std::setw(4) << linenumber++ << "*/ " << s.substr(start, std::string::npos);
     return ss.str();
 }
-#endif
 
 bool AllStringsAreNull(const rtl_uString* const* pStringArray, size_t nLength)
 {


More information about the Libreoffice-commits mailing list