summaryrefslogtreecommitdiff
path: root/cui/source/tabpages/tplneend.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 /cui/source/tabpages/tplneend.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 'cui/source/tabpages/tplneend.cxx')
-rw-r--r--cui/source/tabpages/tplneend.cxx6
1 files changed, 2 insertions, 4 deletions
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 <svx/dialogs.hrc>
#include <svx/strings.hrc>
-#include <o3tl/make_unique.hxx>
-
#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<XLineEndEntry>(pOldEntry->GetLineEnd(), aName), nPos);
+ pLineEndList->Replace(std::make_unique<XLineEndEntry>(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<XLineEndEntry>(aNewPolyPolygon, aName), nLineEndCount);
+ pLineEndList->Insert(std::make_unique<XLineEndEntry>(aNewPolyPolygon, aName), nLineEndCount);
// add to the ListBox
m_xLbLineEnds->Append(*pLineEndList->GetLineEnd(nLineEndCount), pLineEndList->GetUiBitmap(nLineEndCount));