summaryrefslogtreecommitdiff
path: root/sc/inc/chart2uno.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/chart2uno.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/chart2uno.hxx')
-rw-r--r--sc/inc/chart2uno.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/inc/chart2uno.hxx b/sc/inc/chart2uno.hxx
index c2a54bdfa745..eddf28541b9a 100644
--- a/sc/inc/chart2uno.hxx
+++ b/sc/inc/chart2uno.hxx
@@ -320,7 +320,7 @@ class ScChart2DataSequence : public
public:
explicit ScChart2DataSequence( ScDocument* pDoc,
const com::sun::star::uno::Reference< com::sun::star::chart2::data::XDataProvider >& xDP,
- ::std::vector<ScSharedTokenRef>* pTokens, bool bIncludeHiddenCells );
+ ::std::vector<ScTokenRef>* pTokens, bool bIncludeHiddenCells );
virtual ~ScChart2DataSequence();
virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint );
@@ -476,7 +476,7 @@ private:
void RebuildDataCache();
- sal_Int32 FillCacheFromExternalRef(const ScSharedTokenRef& pToken);
+ sal_Int32 FillCacheFromExternalRef(const ScTokenRef& pToken);
void UpdateTokensFromRanges(const ScRangeList& rRanges);
@@ -525,7 +525,7 @@ private:
sal_Bool m_bIncludeHiddenCells;
// internals
- typedef ::std::auto_ptr< ::std::vector<ScSharedTokenRef> > TokenListPtr;
+ typedef ::std::auto_ptr< ::std::vector<ScTokenRef> > TokenListPtr;
typedef ::std::auto_ptr< ::std::vector<sal_uInt32> > RangeIndexMapPtr;
typedef ::std::auto_ptr<ExternalRefListener> ExtRefListenerPtr;