diff options
Diffstat (limited to 'chart2/source/view/axes')
-rw-r--r-- | chart2/source/view/axes/VPolarRadiusAxis.cxx | 2 | ||||
-rw-r--r-- | chart2/source/view/axes/VPolarRadiusAxis.hxx | 5 |
2 files changed, 3 insertions, 4 deletions
diff --git a/chart2/source/view/axes/VPolarRadiusAxis.cxx b/chart2/source/view/axes/VPolarRadiusAxis.cxx index 0a2133ce52cf..4b6d8e2ca832 100644 --- a/chart2/source/view/axes/VPolarRadiusAxis.cxx +++ b/chart2/source/view/axes/VPolarRadiusAxis.cxx @@ -41,7 +41,7 @@ VPolarRadiusAxis::VPolarRadiusAxis( const AxisProperties& rAxisProperties m_aAxisProperties.m_aLabelAlignment=LABEL_ALIGN_RIGHT; m_aAxisProperties.init(); - m_apAxisWithLabels = std::auto_ptr<VCartesianAxis>( new VCartesianAxis( + m_apAxisWithLabels.reset( new VCartesianAxis( m_aAxisProperties,xNumberFormatsSupplier,1/*nDimensionIndex*/,nDimensionCount ,new PolarPlottingPositionHelper() ) ); } diff --git a/chart2/source/view/axes/VPolarRadiusAxis.hxx b/chart2/source/view/axes/VPolarRadiusAxis.hxx index 7d16ffba9f2a..126817b37790 100644 --- a/chart2/source/view/axes/VPolarRadiusAxis.hxx +++ b/chart2/source/view/axes/VPolarRadiusAxis.hxx @@ -20,8 +20,7 @@ #define _CHART2_VPOLARRADIUSAXIS_HXX #include "VPolarAxis.hxx" - -#include <memory> +#include <boost/scoped_ptr.hpp> namespace chart { @@ -74,7 +73,7 @@ protected: //methods virtual bool prepareShapeCreation(); private: //member - std::auto_ptr<VCartesianAxis> m_apAxisWithLabels; + boost::scoped_ptr<VCartesianAxis> m_apAxisWithLabels; }; } //namespace chart |