summaryrefslogtreecommitdiff
path: root/sc/inc/chart2uno.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/inc/chart2uno.hxx')
-rw-r--r--sc/inc/chart2uno.hxx11
1 files changed, 6 insertions, 5 deletions
diff --git a/sc/inc/chart2uno.hxx b/sc/inc/chart2uno.hxx
index 54cfd98f5fac..68387a608f53 100644
--- a/sc/inc/chart2uno.hxx
+++ b/sc/inc/chart2uno.hxx
@@ -47,10 +47,11 @@
#include <svl/itemprop.hxx>
#include <list>
-#include <memory>
#include <unordered_set>
#include <vector>
+#include <boost/shared_ptr.hpp>
#include <boost/noncopyable.hpp>
+#include <boost/scoped_ptr.hpp>
class ScDocument;
@@ -452,9 +453,9 @@ private:
bool m_bIncludeHiddenCells;
// internals
- typedef std::unique_ptr<std::vector<ScTokenRef> > TokenListPtr;
- typedef std::unique_ptr<std::vector<sal_uInt32> > RangeIndexMapPtr;
- typedef std::unique_ptr<ExternalRefListener> ExtRefListenerPtr;
+ typedef boost::scoped_ptr<std::vector<ScTokenRef> > TokenListPtr;
+ typedef boost::scoped_ptr<std::vector<sal_uInt32> > RangeIndexMapPtr;
+ typedef boost::scoped_ptr<ExternalRefListener> ExtRefListenerPtr;
sal_Int64 m_nObjectId;
ScDocument* m_pDocument;
@@ -464,7 +465,7 @@ private:
com::sun::star::uno::Reference < com::sun::star::chart2::data::XDataProvider > m_xDataProvider;
SfxItemPropertySet m_aPropSet;
- std::unique_ptr<HiddenRangeListener> m_pHiddenListener;
+ boost::scoped_ptr<HiddenRangeListener> m_pHiddenListener;
ScLinkListener* m_pValueListener;
XModifyListenerArr_Impl m_aValueListeners;