summaryrefslogtreecommitdiffstats
path: root/chart2/inc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-09-14 14:43:18 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-09-14 19:32:42 +0000
commit33cddeea1352688af9a42b53024e32a4536d5860 (patch)
treec113962c0dd2a936b08ce0e64721f7b4617e757b /chart2/inc
parentoox: loplugin:stringconstant (diff)
downloadcore-33cddeea1352688af9a42b53024e32a4536d5860.tar.gz
core-33cddeea1352688af9a42b53024e32a4536d5860.zip
boost->std
Change-Id: Iff14f69c200217c5d868978e8ffc06962b99ac09 Reviewed-on: https://gerrit.libreoffice.org/18568 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'chart2/inc')
-rw-r--r--chart2/inc/ChartModel.hxx4
-rw-r--r--chart2/inc/ChartView.hxx11
-rw-r--r--chart2/inc/pch/precompiled_chartcontroller.hxx2
-rw-r--r--chart2/inc/pch/precompiled_chartcore.hxx2
4 files changed, 7 insertions, 12 deletions
diff --git a/chart2/inc/ChartModel.hxx b/chart2/inc/ChartModel.hxx
index 4dab666495ea..0eaf08acfb37 100644
--- a/chart2/inc/ChartModel.hxx
+++ b/chart2/inc/ChartModel.hxx
@@ -63,7 +63,7 @@
#include <cppuhelper/interfacecontainer.hxx>
#include <svtools/grfmgr.hxx>
-#include <boost/scoped_ptr.hpp>
+#include <memory>
class SvNumberFormatter;
class OpenGLWindow;
@@ -154,7 +154,7 @@ private:
m_xOwnNumberFormatsSupplier;
::com::sun::star::uno::Reference< com::sun::star::util::XNumberFormatsSupplier >
m_xNumberFormatsSupplier;
- boost::scoped_ptr< SvNumberFormatter > m_apSvNumberFormatter; // #i113784# avoid memory leak
+ std::unique_ptr< SvNumberFormatter > m_apSvNumberFormatter; // #i113784# avoid memory leak
::com::sun::star::uno::Reference< ::com::sun::star::chart2::XChartTypeManager >
m_xChartTypeManager;
diff --git a/chart2/inc/ChartView.hxx b/chart2/inc/ChartView.hxx
index 1ac31ec696b4..9589ee0876d5 100644
--- a/chart2/inc/ChartView.hxx
+++ b/chart2/inc/ChartView.hxx
@@ -40,8 +40,7 @@
#include <com/sun/star/qa/XDumper.hpp>
#include <vector>
-#include <boost/shared_ptr.hpp>
-#include <boost/ptr_container/ptr_vector.hpp>
+#include <memory>
#include <vcl/timer.hxx>
@@ -141,7 +140,7 @@ public:
virtual ::com::sun::star::awt::Rectangle getDiagramRectangleExcludingAxes() SAL_OVERRIDE;
- ::boost::shared_ptr< DrawModelWrapper > getDrawModelWrapper() SAL_OVERRIDE;
+ std::shared_ptr< DrawModelWrapper > getDrawModelWrapper() SAL_OVERRIDE;
// ___XTransferable___
virtual ::com::sun::star::uno::Any SAL_CALL getTransferData( const ::com::sun::star::datatransfer::DataFlavor& aFlavor )
@@ -257,7 +256,7 @@ private: //member
::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > m_xTransGradientTable;
::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > m_xMarkerTable;
- ::boost::shared_ptr< DrawModelWrapper > m_pDrawModelWrapper;
+ std::shared_ptr< DrawModelWrapper > m_pDrawModelWrapper;
std::vector< VCoordinateSystem* > m_aVCooSysList;
@@ -283,10 +282,10 @@ private: //member
::com::sun::star::awt::Rectangle m_aResultingDiagramRectangleExcludingAxes;
- boost::shared_ptr<GL3DPlotterBase> m_pGL3DPlotter;
+ std::shared_ptr<GL3DPlotterBase> m_pGL3DPlotter;
TimeBasedInfo maTimeBased;
osl::Mutex maTimeMutex;
- boost::scoped_ptr<GL2DRenderer> mp2DRenderer;
+ std::unique_ptr<GL2DRenderer> mp2DRenderer;
};
}
diff --git a/chart2/inc/pch/precompiled_chartcontroller.hxx b/chart2/inc/pch/precompiled_chartcontroller.hxx
index 2805e0be0ad9..4e2834d22bf9 100644
--- a/chart2/inc/pch/precompiled_chartcontroller.hxx
+++ b/chart2/inc/pch/precompiled_chartcontroller.hxx
@@ -23,8 +23,6 @@
#include <basegfx/polygon/b2dpolypolygontools.hxx>
#include <boost/checked_delete.hpp>
#include <boost/ref.hpp>
-#include <boost/scoped_ptr.hpp>
-#include <boost/shared_ptr.hpp>
#include <com/sun/star/accessibility/AccessibleEventId.hpp>
#include <com/sun/star/accessibility/AccessibleEventObject.hpp>
#include <com/sun/star/accessibility/AccessibleRole.hpp>
diff --git a/chart2/inc/pch/precompiled_chartcore.hxx b/chart2/inc/pch/precompiled_chartcore.hxx
index 5bf7c8a5b45c..fde1f3c90250 100644
--- a/chart2/inc/pch/precompiled_chartcore.hxx
+++ b/chart2/inc/pch/precompiled_chartcore.hxx
@@ -35,8 +35,6 @@
#include <boost/ptr_container/ptr_map.hpp>
#include <boost/ptr_container/ptr_vector.hpp>
#include <memory>
-#include <boost/scoped_ptr.hpp>
-#include <boost/shared_ptr.hpp>
#include <cmath>
#include <com/sun/star/awt/CharSet.hpp>
#include <com/sun/star/awt/FontFamily.hpp>