From 43635b474cdce65e64fa9ca9d27a3cee6d96d50b Mon Sep 17 00:00:00 2001 From: Gabor Kelemen Date: Mon, 4 Feb 2019 20:41:49 +0100 Subject: o3tl::make_unique -> std::make_unique in tools..xmloff Since it is now possible to use C++14, it's time to replace the temporary solution with the standard one Change-Id: Ib3201f865d43f372007cdf381c7e244e9cbeae26 Reviewed-on: https://gerrit.libreoffice.org/67474 Tested-by: Jenkins Reviewed-by: Miklos Vajna --- vcl/win/app/salinst.cxx | 3 +-- vcl/win/gdi/winlayout.cxx | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) (limited to 'vcl/win') diff --git a/vcl/win/app/salinst.cxx b/vcl/win/app/salinst.cxx index 9a7a41f0d5db..b754dd35d362 100644 --- a/vcl/win/app/salinst.cxx +++ b/vcl/win/app/salinst.cxx @@ -28,7 +28,6 @@ #include #include #include -#include #include #include @@ -389,7 +388,7 @@ VCLPLUG_WIN_PUBLIC SalInstance* create_SalInstance() } WinSalInstance::WinSalInstance() - : SalInstance(o3tl::make_unique()) + : SalInstance(std::make_unique()) , mhInst( nullptr ) , mhComWnd( nullptr ) , m_nNoYieldLock( 0 ) diff --git a/vcl/win/gdi/winlayout.cxx b/vcl/win/gdi/winlayout.cxx index 9b63fc583516..9be60fcac64e 100644 --- a/vcl/win/gdi/winlayout.cxx +++ b/vcl/win/gdi/winlayout.cxx @@ -24,7 +24,6 @@ #include #include -#include #include #include @@ -295,7 +294,7 @@ std::unique_ptr WinSalGraphics::GetTextLayout(int nFallbackLev assert(mpWinFontEntry[nFallbackLevel]->GetFontFace()); mpWinFontEntry[nFallbackLevel]->SetGraphics(this); - return o3tl::make_unique(*mpWinFontEntry[nFallbackLevel]); + return std::make_unique(*mpWinFontEntry[nFallbackLevel]); } WinFontInstance::WinFontInstance(const WinFontFace& rPFF, const FontSelectPattern& rFSP) -- cgit v1.2.3