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 --- scripting/source/stringresource/stringresource.cxx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'scripting/source') diff --git a/scripting/source/stringresource/stringresource.cxx b/scripting/source/stringresource/stringresource.cxx index 81639ef1ea3e..1215ab8ceba3 100644 --- a/scripting/source/stringresource/stringresource.cxx +++ b/scripting/source/stringresource/stringresource.cxx @@ -38,7 +38,6 @@ #include #include -#include #include #include #include @@ -338,7 +337,7 @@ void StringResourceImpl::setDefaultLocale( const Locale& locale ) if( m_pDefaultLocaleItem ) { m_aChangedDefaultLocaleVector.push_back( - o3tl::make_unique( m_pDefaultLocaleItem->m_locale ) ); + std::make_unique( m_pDefaultLocaleItem->m_locale ) ); } m_pDefaultLocaleItem = pLocaleItem; @@ -522,7 +521,7 @@ void StringResourceImpl::removeLocale( const Locale& locale ) if( m_pDefaultLocaleItem ) { m_aChangedDefaultLocaleVector.push_back( - o3tl::make_unique( m_pDefaultLocaleItem->m_locale ) ); + std::make_unique( m_pDefaultLocaleItem->m_locale ) ); } m_pCurrentLocaleItem = nullptr; m_pDefaultLocaleItem = nullptr; -- cgit