From 4e8a15ca224760e8f36952528b2b47def78fd865 Mon Sep 17 00:00:00 2001 From: Gabor Kelemen Date: Mon, 21 Jan 2019 23:47:35 +0100 Subject: o3tl::make_unique -> std::make_unique in sax...svtools (except sc) Since it is now possible to use C++14, it's time to replace the temporary solution with the standard one Change-Id: I6eea0877eaa1886b64c0cce06a43b8088cbccd8e Reviewed-on: https://gerrit.libreoffice.org/66751 Tested-by: Jenkins Reviewed-by: Miklos Vajna --- shell/source/win32/simplemail/smplmailclient.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'shell') diff --git a/shell/source/win32/simplemail/smplmailclient.cxx b/shell/source/win32/simplemail/smplmailclient.cxx index db138566f90c..1466d3f86228 100644 --- a/shell/source/win32/simplemail/smplmailclient.cxx +++ b/shell/source/win32/simplemail/smplmailclient.cxx @@ -28,7 +28,6 @@ #include #include #include -#include #include #include #include @@ -204,7 +203,7 @@ OUString CSmplMailClient::CopyAttachment(const OUString& sOrigAttachURL, OUStrin // removed in Desktop::RemoveTemporaryDirectory() if soffice process gets closed before the // mailer finishes using them. - maAttachmentFiles.emplace_back(o3tl::make_unique(&GetBaseTempDirURL())); + maAttachmentFiles.emplace_back(std::make_unique(&GetBaseTempDirURL())); maAttachmentFiles.back()->EnableKillingFile(); INetURLObject aFilePathObj(maAttachmentFiles.back()->GetURL()); OUString sNewAttachmentURL = aFilePathObj.GetMainURL(INetURLObject::DecodeMechanism::NONE); -- cgit