summaryrefslogtreecommitdiff
path: root/sc/inc/token.hxx
diff options
context:
space:
mode:
authorKohei Yoshida <kyoshida@novell.com>2010-12-21 18:03:28 -0500
committerKohei Yoshida <kyoshida@novell.com>2010-12-21 18:03:28 -0500
commit579e5624fa3740ff79d99607bffabc9ba2d80c1b (patch)
tree7546ccc3d1347842e66c140ce14e89fee71a884b /sc/inc/token.hxx
parentdb373021b452bddf179eaf268957033bd23ae715 (diff)
Removed ScSharedTokenRef and replaced it with ScTokenRef.
ScSharedTokenRef was implemented by boost::shared_ptr, only because SimpleIntrusiveReference which the original ScTokenRef was implemented by could not be used with STL. Now that ScTokenRef is implemented by intrusive_ptr, we no longer need ScSharedTokenRef.
Diffstat (limited to 'sc/inc/token.hxx')
-rw-r--r--sc/inc/token.hxx10
1 files changed, 0 insertions, 10 deletions
diff --git a/sc/inc/token.hxx b/sc/inc/token.hxx
index 6a2d7d13daa4..8c98d951e4fa 100644
--- a/sc/inc/token.hxx
+++ b/sc/inc/token.hxx
@@ -50,16 +50,6 @@ class ScToken;
typedef ::std::vector< ScComplexRefData > ScRefList;
typedef ::boost::intrusive_ptr<ScToken> ScTokenRef;
-/**
- * Another ref-counted token type using shared_ptr. <b>Be extra careful
- * not to mix use of this smart pointer type with ScTokenRef</b>, since
- * mixing them might cause a premature object deletion because the same
- * object may be ref-counted by two different smart pointer wrappers.
- *
- * You have been warned.
- */
-typedef ::boost::shared_ptr< ScToken > ScSharedTokenRef;
-
class SC_DLLPUBLIC ScToken : public formula::FormulaToken
{
private: