summaryrefslogtreecommitdiff
path: root/sc/inc/chartlis.hxx
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@suse.com>2012-02-01 11:52:30 -0500
committerKohei Yoshida <kohei.yoshida@suse.com>2012-02-01 20:21:04 -0500
commit47de5f1c09cab1ea18b870d675b7bfb0cdfa74d3 (patch)
treec3fd59826fa5b939ae078671762f610b5e17dcc0 /sc/inc/chartlis.hxx
parent30fc28a477174806384a07ebe8e44e2fec440b73 (diff)
std::auto_ptr to boost::scoped_ptr.
Diffstat (limited to 'sc/inc/chartlis.hxx')
-rw-r--r--sc/inc/chartlis.hxx12
1 files changed, 7 insertions, 5 deletions
diff --git a/sc/inc/chartlis.hxx b/sc/inc/chartlis.hxx
index aa8434bf861e..970f796f710e 100644
--- a/sc/inc/chartlis.hxx
+++ b/sc/inc/chartlis.hxx
@@ -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& );