summaryrefslogtreecommitdiff
path: root/chart2/source/controller/inc/AxisItemConverter.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-02-28 16:00:56 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-03-05 07:29:18 +0100
commit4b44ab2fdf0d71428bdec3ca4090e7968851b24d (patch)
tree12de733871db8ebd1538374a36d3f6fd3ef9aada /chart2/source/controller/inc/AxisItemConverter.hxx
parent9110118117d45a6cff1c50f3bd3087f97206ff51 (diff)
loplugin:useuniqueptr in AxisItemConverter
Change-Id: Idbe3a52a62da43e86e9695a3f1519d611e63011a Reviewed-on: https://gerrit.libreoffice.org/50698 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'chart2/source/controller/inc/AxisItemConverter.hxx')
-rw-r--r--chart2/source/controller/inc/AxisItemConverter.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/chart2/source/controller/inc/AxisItemConverter.hxx b/chart2/source/controller/inc/AxisItemConverter.hxx
index ad742691ada5..3a82e54124af 100644
--- a/chart2/source/controller/inc/AxisItemConverter.hxx
+++ b/chart2/source/controller/inc/AxisItemConverter.hxx
@@ -56,15 +56,15 @@ protected:
virtual bool ApplySpecialItem( sal_uInt16 nWhichId, const SfxItemSet & rItemSet ) override;
private:
- std::vector< ItemConverter * > m_aConverters;
+ std::vector< std::unique_ptr<ItemConverter> > m_aConverters;
css::uno::Reference<
css::chart2::XAxis > m_xAxis;
css::uno::Reference<
css::chart2::XChartDocument > m_xChartDoc;
- ExplicitScaleData* m_pExplicitScale;
- ExplicitIncrementData* m_pExplicitIncrement;
+ std::unique_ptr<ExplicitScaleData> m_pExplicitScale;
+ std::unique_ptr<ExplicitIncrementData> m_pExplicitIncrement;
};
}}