[Libreoffice-commits] .: sc/inc

Kohei Yoshida kohei at kemper.freedesktop.org
Tue Dec 21 15:35:26 PST 2010


 sc/inc/externalrefmgr.hxx |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

New commits:
commit 4a950ca52a1f2446cfc04572b3a914612ee699fb
Author: Kohei Yoshida <kyoshida at novell.com>
Date:   Tue Dec 21 18:34:12 2010 -0500

    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.

diff --git a/sc/inc/externalrefmgr.hxx b/sc/inc/externalrefmgr.hxx
index a8833c3..8450900 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
     {


More information about the Libreoffice-commits mailing list