summaryrefslogtreecommitdiff
path: root/include/formula/token.hxx
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@collabora.com>2013-11-07 14:16:48 -0500
committerKohei Yoshida <kohei.yoshida@collabora.com>2013-11-11 16:17:28 -0500
commit3ac4277ba1ad8925329bbe8a1c5ed3684b9b8ee7 (patch)
tree70b27ea6a553f1922ecda72ca44d4fd194bc0126 /include/formula/token.hxx
parent6122a6c272436f0f1959f160406d2e4ecdd1a733 (diff)
Thread-safe way to check for presence of references in formula tokens.
Change-Id: I995668d1e183dc0dae4f354889bc13053e858723
Diffstat (limited to 'include/formula/token.hxx')
-rw-r--r--include/formula/token.hxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/formula/token.hxx b/include/formula/token.hxx
index 73f773bcff0e..002cefbb8a21 100644
--- a/include/formula/token.hxx
+++ b/include/formula/token.hxx
@@ -106,7 +106,10 @@ public:
inline void Delete() { delete this; }
inline StackVar GetType() const { return eType; }
bool IsFunction() const; // pure functions, no operators
- bool IsExternalRef() const;
+
+ bool IsExternalRef() const;
+ bool IsRef() const;
+
sal_uInt8 GetParamCount() const;
inline void IncRef() const