summaryrefslogtreecommitdiff
path: root/chart2/source/view/main/PlottingPositionHelper.cxx
diff options
context:
space:
mode:
authorGabor Kelemen <kelemen.gabor2@nisz.hu>2019-01-17 00:01:31 +0100
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-01-18 09:49:12 +0100
commitba28af8aa576869a5e6a4f3129af302c824d31a5 (patch)
tree89fa65a1b964625ea01030d6c80260217f2cde28 /chart2/source/view/main/PlottingPositionHelper.cxx
parentfd1cfd25b48cb4bd5c87e9cb317b37699ca3a1d6 (diff)
o3tl::make_unique -> std::make_unique in chart2...cui
Since it is now possible to use C++14, it's time to replace the temporary solution with the standard one Change-Id: I2ba0b9b44971166bd79527b52745f3c40dc14387 Reviewed-on: https://gerrit.libreoffice.org/66490 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'chart2/source/view/main/PlottingPositionHelper.cxx')
-rw-r--r--chart2/source/view/main/PlottingPositionHelper.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/chart2/source/view/main/PlottingPositionHelper.cxx b/chart2/source/view/main/PlottingPositionHelper.cxx
index 281a3da4c040..2382894e383a 100644
--- a/chart2/source/view/main/PlottingPositionHelper.cxx
+++ b/chart2/source/view/main/PlottingPositionHelper.cxx
@@ -31,7 +31,6 @@
#include <com/sun/star/drawing/Position3D.hpp>
#include <com/sun/star/drawing/XShapes.hpp>
-#include <o3tl/make_unique.hxx>
#include <rtl/math.hxx>
#include <tools/helpers.hxx>
@@ -81,7 +80,7 @@ PlottingPositionHelper::~PlottingPositionHelper()
std::unique_ptr<PlottingPositionHelper> PlottingPositionHelper::clone() const
{
- return o3tl::make_unique<PlottingPositionHelper>(*this);
+ return std::make_unique<PlottingPositionHelper>(*this);
}
std::unique_ptr<PlottingPositionHelper> PlottingPositionHelper::createSecondaryPosHelper( const ExplicitScaleData& rSecondaryScale )
@@ -337,7 +336,7 @@ PolarPlottingPositionHelper::~PolarPlottingPositionHelper()
std::unique_ptr<PlottingPositionHelper> PolarPlottingPositionHelper::clone() const
{
- return o3tl::make_unique<PolarPlottingPositionHelper>(*this);
+ return std::make_unique<PolarPlottingPositionHelper>(*this);
}
void PolarPlottingPositionHelper::setTransformationSceneToScreen( const drawing::HomogenMatrix& rMatrix)