diff options
author | Gabor Kelemen <kelemen.gabor2@nisz.hu> | 2019-02-04 19:43:45 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2019-02-12 14:59:17 +0100 |
commit | a2bd7470368b2a44edf25680bd250c4d2b7428cb (patch) | |
tree | 0907596b7ff56a2a892fe2c12bcbc89f8aea1995 /svx/source/svdraw/svdocapt.cxx | |
parent | db346dde6179e7414289681d91b153a6ed259d05 (diff) |
o3tl::make_unique -> std::make_unique in svx/
Since it is now possible to use C++14, it's time to replace
the temporary solution with the standard one
Change-Id: Ic91b7170b10299001167e78ade1d24c16ce9319e
Reviewed-on: https://gerrit.libreoffice.org/67475
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'svx/source/svdraw/svdocapt.cxx')
-rw-r--r-- | svx/source/svdraw/svdocapt.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/svx/source/svdraw/svdocapt.cxx b/svx/source/svdraw/svdocapt.cxx index ac2fde0070e3..d57ab18e0dbe 100644 --- a/svx/source/svdraw/svdocapt.cxx +++ b/svx/source/svdraw/svdocapt.cxx @@ -58,7 +58,6 @@ #include <svx/xlnwtit.hxx> #include <svx/xpoly.hxx> #include <svx/xpool.hxx> -#include <o3tl/make_unique.hxx> enum EscDir {LKS,RTS,OBN,UNT}; @@ -177,7 +176,7 @@ void ImpCaptParams::CalcEscPos(const Point& rTailPt, const tools::Rectangle& rRe std::unique_ptr<sdr::properties::BaseProperties> SdrCaptionObj::CreateObjectSpecificProperties() { - return o3tl::make_unique<sdr::properties::CaptionProperties>(*this); + return std::make_unique<sdr::properties::CaptionProperties>(*this); } @@ -185,7 +184,7 @@ std::unique_ptr<sdr::properties::BaseProperties> SdrCaptionObj::CreateObjectSpec std::unique_ptr<sdr::contact::ViewContact> SdrCaptionObj::CreateObjectSpecificViewContact() { - return o3tl::make_unique<sdr::contact::ViewContactOfSdrCaptionObj>(*this); + return std::make_unique<sdr::contact::ViewContactOfSdrCaptionObj>(*this); } |