summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2017-11-24 22:36:49 +0200
committerTor Lillqvist <tml@collabora.com>2017-11-24 23:00:39 +0200
commitceff579722cd606de8ba71444a9d819f4e8a011d (patch)
tree4b8881ccc7f1dd0ddf2da6f6f466f37d536a503b
parentf2b877fe69bf57f26ec8423627f540f9e58b0c9b (diff)
Mention that the StackVarEnumToString should really be an operator<<
Change-Id: I71288daf10b1010ab0f9dbedd39875cc24f119ae
-rw-r--r--include/formula/token.hxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/formula/token.hxx b/include/formula/token.hxx
index 3de7c761d658..c3144b4a2dcb 100644
--- a/include/formula/token.hxx
+++ b/include/formula/token.hxx
@@ -84,6 +84,9 @@ enum StackVar : sal_uInt8
// Only to be used for debugging output. No guarantee of stability of the
// return value.
+
+// Turn this into an operator<< when StackVar becomes a scoped enum
+
inline std::string StackVarEnumToString(StackVar const e)
{
switch (e)