summaryrefslogtreecommitdiff
path: root/chart2/source/model/main/ChartModel.hxx
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2013-09-29 18:44:32 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2013-09-29 20:26:06 +0200
commit140e5eabbfa6f91dc34d2d8181e0ee0508a5a271 (patch)
tree7889fcbce637a773c04c65ed6fc9950d9d30bee5 /chart2/source/model/main/ChartModel.hxx
parentd3affcac9a74065d8cf566a5288447856b84d59b (diff)
replace more auto_ptr with scoped_ptr
Change-Id: Ia96fcc857e028c7c14186b9560153e7580e6b4fb
Diffstat (limited to 'chart2/source/model/main/ChartModel.hxx')
-rw-r--r--chart2/source/model/main/ChartModel.hxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/chart2/source/model/main/ChartModel.hxx b/chart2/source/model/main/ChartModel.hxx
index ee36ddde856d..9752c3bbf276 100644
--- a/chart2/source/model/main/ChartModel.hxx
+++ b/chart2/source/model/main/ChartModel.hxx
@@ -66,8 +66,7 @@
#include <cppuhelper/interfacecontainer.hxx>
#include <svtools/grfmgr.hxx>
-// for auto_ptr
-#include <memory>
+#include <boost/scoped_ptr.hpp>
class SvNumberFormatter;
@@ -149,7 +148,7 @@ private:
m_xOwnNumberFormatsSupplier;
::com::sun::star::uno::Reference< com::sun::star::util::XNumberFormatsSupplier >
m_xNumberFormatsSupplier;
- std::auto_ptr< SvNumberFormatter > m_apSvNumberFormatter; // #i113784# avoid memory leak
+ boost::scoped_ptr< SvNumberFormatter > m_apSvNumberFormatter; // #i113784# avoid memory leak
::com::sun::star::uno::Reference< ::com::sun::star::chart2::XChartTypeManager >
m_xChartTypeManager;