[Libreoffice-commits] core.git: sc/source
Eike Rathke
erack at redhat.com
Fri Jun 2 17:49:27 UTC 2017
sc/source/core/inc/parclass.hxx | 2 +-
sc/source/core/tool/parclass.cxx | 5 ++++-
2 files changed, 5 insertions(+), 2 deletions(-)
New commits:
commit 18456108729aa3365ad246a95251961086193d8d
Author: Eike Rathke <erack at redhat.com>
Date: Fri Jun 2 19:48:36 2017 +0200
Fix build with DEBUG_SC_PARCLASSDOC
Change-Id: I0d88dd87a8913b38d0b469d73f15bd55e44295e3
diff --git a/sc/source/core/inc/parclass.hxx b/sc/source/core/inc/parclass.hxx
index 06c5161a988d..c2370792f3b1 100644
--- a/sc/source/core/inc/parclass.hxx
+++ b/sc/source/core/inc/parclass.hxx
@@ -117,7 +117,7 @@ private:
{
if ( eOp <= SC_OPCODE_LAST_OPCODE_ID )
return pData[eOp].aData.nParam[0]
- == Unknown ? 1 :
+ == formula::ParamClass::Unknown ? 1 :
pData[eOp].nMinParams;
return 0;
}
diff --git a/sc/source/core/tool/parclass.cxx b/sc/source/core/tool/parclass.cxx
index 1c48eae27a88..bb10acf2d27e 100644
--- a/sc/source/core/tool/parclass.cxx
+++ b/sc/source/core/tool/parclass.cxx
@@ -617,7 +617,10 @@ void ScParameterClassification::GenerateDocumentation()
break;
default:;
}
- SAL_INFO( "sc.core", "" << aStr);
+ /* We could add yet another log domain for this, if we wanted.. but
+ * as it more seldom than rarely used it's not actually necessary,
+ * just grep output. */
+ SAL_INFO( "sc.core", "CALC_GENPARCLASSDOC: " << aStr.makeStringAndClear());
}
}
fflush( stdout);
More information about the Libreoffice-commits
mailing list