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

Tor Lillqvist tml at collabora.com
Thu Oct 30 14:10:14 PDT 2014


 sc/source/core/tool/formulagroup.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit c554343856a4efdc3388498656ad518b0f03b41c
Author: Tor Lillqvist <tml at collabora.com>
Date:   Thu Oct 30 16:31:04 2014 +0200

    Use SAL_INFO instead of fprintf(stderr)
    
    Change-Id: I49bc06865c599e0a4417e24c70845a2bc25b7ff8

diff --git a/sc/source/core/tool/formulagroup.cxx b/sc/source/core/tool/formulagroup.cxx
index 32e83c6..b4a8827 100644
--- a/sc/source/core/tool/formulagroup.cxx
+++ b/sc/source/core/tool/formulagroup.cxx
@@ -478,7 +478,7 @@ public:
     {
         const char *pValue = getenv("FORMULA_GROUP_DUMMY");
         meMode = static_cast<Mode>(OString(pValue, strlen(pValue)).toInt32());
-        fprintf(stderr, "Using Dummy Formula Group interpreter mode %d\n", (int)meMode);
+        SAL_INFO("sc.formulagroup", "Using Dummy Formula Group interpreter mode " << (int)meMode);
     }
 
     virtual ScMatrixRef inverseMatrix(const ScMatrix& /*rMat*/)
@@ -527,7 +527,7 @@ FormulaGroupInterpreter *FormulaGroupInterpreter::getStatic()
 
         if ( !msInstance ) // software fallback
         {
-            fprintf(stderr, "Create S/W interp\n");
+            SAL_INFO("sc.formulagroup", "Create S/W interpreter");
             msInstance = new sc::FormulaGroupInterpreterSoftware();
         }
     }


More information about the Libreoffice-commits mailing list