summaryrefslogtreecommitdiffstats
path: root/sc/inc/externalrefmgr.hxx
diff options
context:
space:
mode:
authorKohei Yoshida <kyoshida@novell.com>2010-12-21 18:34:12 -0500
committerKohei Yoshida <kyoshida@novell.com>2010-12-21 18:34:12 -0500
commitf7e9694be4d3c7d4a1bb16cf1620acf1473e650d (patch)
tree1cf620acfc138a0a09bf79bcf463045a6a779e05 /sc/inc/externalrefmgr.hxx
parentNo need to include the shared_ptr header. (diff)
downloadcore-f7e9694be4d3c7d4a1bb16cf1620acf1473e650d.tar.gz
core-f7e9694be4d3c7d4a1bb16cf1620acf1473e650d.zip
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.
Diffstat (limited to 'sc/inc/externalrefmgr.hxx')
-rw-r--r--sc/inc/externalrefmgr.hxx5
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
{