diff options
author | Tor Lillqvist <tml@collabora.com> | 2014-10-30 14:47:51 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2014-10-30 15:18:50 +0200 |
commit | ae98892269205632f52d220749e154ca3a87f18c (patch) | |
tree | 2687a71d84c27c055b14d5f07c1b04c902d243a8 /sc | |
parent | 288550ee6db7e3b3f81a027145d006f422d67876 (diff) |
Log the state as an integer, not as a byte with value 0, 1 or 2
It is rather hard to see in a terminal window whether a char with value 0, 1
or 2 has been printed;)
The elegant thing to do would of course be to make the enum in question into
an enum class, and define an operator<< for it, to output it symbolically. But
I can not be distracted into that now.
Change-Id: Ibfa4f4d5925d1db3cbbf35f84df70640f47a8d56
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/core/data/formulacell.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/data/formulacell.cxx b/sc/source/core/data/formulacell.cxx index 3ba6bf3705a6..96b433932f45 100644 --- a/sc/source/core/data/formulacell.cxx +++ b/sc/source/core/data/formulacell.cxx @@ -3687,7 +3687,7 @@ bool ScFormulaCell::InterpretFormulaGroup() mxGroup->meCalcState = sc::GroupCalcRunning; if (!sc::FormulaGroupInterpreter::getStatic()->interpret(*pDocument, mxGroup->mpTopCell->aPos, mxGroup, aCode)) { - SAL_INFO("sc.opencl", "interpreting group " << mxGroup << " (state " << mxGroup->meCalcState << ") failed, disabling"); + SAL_INFO("sc.opencl", "interpreting group " << mxGroup << " (state " << (int) mxGroup->meCalcState << ") failed, disabling"); mxGroup->meCalcState = sc::GroupCalcDisabled; return false; } |