diff options
author | Gabor Kelemen <kelemen.gabor2@nisz.hu> | 2019-01-17 00:01:31 +0100 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-01-18 09:49:12 +0100 |
commit | ba28af8aa576869a5e6a4f3129af302c824d31a5 (patch) | |
tree | 89fa65a1b964625ea01030d6c80260217f2cde28 /cui/source/tabpages/tplnedef.cxx | |
parent | fd1cfd25b48cb4bd5c87e9cb317b37699ca3a1d6 (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 'cui/source/tabpages/tplnedef.cxx')
-rw-r--r-- | cui/source/tabpages/tplnedef.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/cui/source/tabpages/tplnedef.cxx b/cui/source/tabpages/tplnedef.cxx index 9d0a57943c09..1d38acd64070 100644 --- a/cui/source/tabpages/tplnedef.cxx +++ b/cui/source/tabpages/tplnedef.cxx @@ -42,7 +42,6 @@ #include <svx/dialmgr.hxx> #include <svx/dialogs.hrc> #include <svx/strings.hrc> -#include <o3tl/make_unique.hxx> #include <cuitabarea.hxx> #define XOUT_WIDTH 150 @@ -524,7 +523,7 @@ IMPL_LINK_NOARG(SvxLineDefTabPage, ClickAddHdl_Impl, weld::Button&, void) FillDash_Impl(); long nDashCount = pDashList->Count(); - pDashList->Insert( o3tl::make_unique<XDashEntry>(aDash, aName), nDashCount ); + pDashList->Insert( std::make_unique<XDashEntry>(aDash, aName), nDashCount ); m_xLbLineStyles->Append( *pDashList->GetDash(nDashCount), pDashList->GetUiBitmap(nDashCount) ); m_xLbLineStyles->set_active(m_xLbLineStyles->get_count() - 1); @@ -592,7 +591,7 @@ IMPL_LINK_NOARG(SvxLineDefTabPage, ClickModifyHdl_Impl, weld::Button&, void) bLoop = false; FillDash_Impl(); - pDashList->Replace(o3tl::make_unique<XDashEntry>(aDash, aName), nPos); + pDashList->Replace(std::make_unique<XDashEntry>(aDash, aName), nPos); m_xLbLineStyles->Modify(*pDashList->GetDash(nPos), nPos, pDashList->GetUiBitmap(nPos)); m_xLbLineStyles->set_active(nPos); |