[Libreoffice-commits] core.git: sc/source
Eike Rathke
erack at redhat.com
Thu Jun 16 13:38:10 UTC 2016
sc/source/core/tool/token.cxx | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit f64cca248b1dca5fbcb67486dccbc601e7ca3892
Author: Eike Rathke <erack at redhat.com>
Date: Thu Jun 16 15:34:51 2016 +0200
DumpToken() dump the OpCode's symbol name as well
Change-Id: I7426d3b911aea561c4e9d027e4dd77a4f585b74b
diff --git a/sc/source/core/tool/token.cxx b/sc/source/core/tool/token.cxx
index 38f2f24..6f7396d 100644
--- a/sc/source/core/tool/token.cxx
+++ b/sc/source/core/tool/token.cxx
@@ -508,7 +508,8 @@ void DumpToken(formula::FormulaToken const & rToken)
break;
default:
cout << "-- FormulaToken" << endl;
- cout << " opcode: " << rToken.GetOpCode() << endl;
+ cout << " opcode: " << rToken.GetOpCode() << " " <<
+ formula::FormulaCompiler::GetNativeSymbol( rToken.GetOpCode()).toUtf8().getStr() << endl;
cout << " type: " << static_cast<int>(rToken.GetType()) << endl;
switch (rToken.GetType())
{
More information about the Libreoffice-commits
mailing list