std::auto_ptr to boost::scoped_ptr.

This commit is contained in:
Kohei Yoshida 2012-02-01 11:52:30 -05:00
parent 30fc28a477
commit 47de5f1c09

View file

@ -40,7 +40,9 @@
#include <memory>
#include <vector>
#include <list>
#include <boost/unordered_set.hpp>
#include <boost/scoped_ptr.hpp>
class ScDocument;
class ScChartUnoData;
@ -71,14 +73,14 @@ public:
private:
::std::auto_ptr<ExternalRefListener> mpExtRefListener;
::std::auto_ptr< ::std::vector<ScTokenRef> > mpTokens;
boost::scoped_ptr<ExternalRefListener> mpExtRefListener;
boost::scoped_ptr<std::vector<ScTokenRef> > mpTokens;
ScChartUnoData* pUnoData;
ScDocument* pDoc;
bool bUsed; // for ScChartListenerCollection::FreeUnused
bool bDirty;
bool bSeriesRangesScheduled;
bool bUsed:1; // for ScChartListenerCollection::FreeUnused
bool bDirty:1;
bool bSeriesRangesScheduled:1;
// not implemented
ScChartListener& operator=( const ScChartListener& );