diff options
author | Kohei Yoshida <kyoshida@novell.com> | 2010-12-21 18:34:12 -0500 |
---|---|---|
committer | Kohei Yoshida <kyoshida@novell.com> | 2010-12-21 18:34:12 -0500 |
commit | f7e9694be4d3c7d4a1bb16cf1620acf1473e650d (patch) | |
tree | 1cf620acfc138a0a09bf79bcf463045a6a779e05 | |
parent | 1656f5cab04e095db6ae323b0499bbe78bfd656b (diff) |
The external ref cache also stores intrusive_ptr-based tokens.
But the token array instances are still managed by shared_ptr.
We need to convert that to intrusive_ptr also.
-rw-r--r-- | sc/inc/externalrefmgr.hxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sc/inc/externalrefmgr.hxx b/sc/inc/externalrefmgr.hxx index a8833c36b992..84509006645a 100644 --- a/sc/inc/externalrefmgr.hxx +++ b/sc/inc/externalrefmgr.hxx @@ -38,6 +38,7 @@ #include "svl/zforlist.hxx" #include "scmatrix.hxx" #include "rangelst.hxx" +#include "formula/token.hxx" #include <hash_map> #include <hash_set> @@ -94,8 +95,8 @@ private: class ScExternalRefCache { public: - typedef ::boost::shared_ptr< formula::FormulaToken> TokenRef; - typedef ::boost::shared_ptr<ScTokenArray> TokenArrayRef; + typedef ::formula::FormulaTokenRef TokenRef; + typedef ::boost::shared_ptr<ScTokenArray> TokenArrayRef; struct TableName { |