diff options
Diffstat (limited to 'chart2/source/model/main/ChartModel.hxx')
-rw-r--r-- | chart2/source/model/main/ChartModel.hxx | 5 |
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; |