From ba28af8aa576869a5e6a4f3129af302c824d31a5 Mon Sep 17 00:00:00 2001 From: Gabor Kelemen Date: Thu, 17 Jan 2019 00:01:31 +0100 Subject: 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 --- cui/source/tabpages/tplneend.cxx | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'cui/source/tabpages/tplneend.cxx') diff --git a/cui/source/tabpages/tplneend.cxx b/cui/source/tabpages/tplneend.cxx index 18282f52fa69..97f6305781eb 100644 --- a/cui/source/tabpages/tplneend.cxx +++ b/cui/source/tabpages/tplneend.cxx @@ -46,8 +46,6 @@ #include #include -#include - #define XOUT_WIDTH 150 SvxLineEndDefTabPage::SvxLineEndDefTabPage(TabPageParent pParent, const SfxItemSet& rInAttrs) @@ -331,7 +329,7 @@ IMPL_LINK_NOARG(SvxLineEndDefTabPage, ClickModifyHdl_Impl, weld::Button&, void) if(pOldEntry) { // #123497# Need to replace the existing entry with a new one - pLineEndList->Replace(o3tl::make_unique(pOldEntry->GetLineEnd(), aName), nPos); + pLineEndList->Replace(std::make_unique(pOldEntry->GetLineEnd(), aName), nPos); m_xEdtName->set_text(aName); @@ -424,7 +422,7 @@ IMPL_LINK_NOARG(SvxLineEndDefTabPage, ClickAddHdl_Impl, weld::Button&, void) bLoop = false; auto nLineEndCount = pLineEndList->Count(); - pLineEndList->Insert(o3tl::make_unique(aNewPolyPolygon, aName), nLineEndCount); + pLineEndList->Insert(std::make_unique(aNewPolyPolygon, aName), nLineEndCount); // add to the ListBox m_xLbLineEnds->Append(*pLineEndList->GetLineEnd(nLineEndCount), pLineEndList->GetUiBitmap(nLineEndCount)); -- cgit v1.2.1