From d96c114171dada05caffd9a50f870809ebd0c450 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 17 May 2016 13:09:11 +0200 Subject: clang-tidy modernize-make-shared Change-Id: I3fa866bfb3093fc876474a9d9db29fe05dc2af3a Reviewed-on: https://gerrit.libreoffice.org/25056 Tested-by: Jenkins Reviewed-by: Noel Grandin --- extensions/source/resource/oooresourceloader.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'extensions/source/resource') diff --git a/extensions/source/resource/oooresourceloader.cxx b/extensions/source/resource/oooresourceloader.cxx index eb7a6c7a6aac..df3c6c22edd3 100644 --- a/extensions/source/resource/oooresourceloader.cxx +++ b/extensions/source/resource/oooresourceloader.cxx @@ -189,7 +189,7 @@ namespace extensions { namespace resource // supported resource types so far: strings m_aResourceTypes[ OUString( "string" ) ] = - ResourceTypePtr( new StringResourceAccess ); + std::make_shared( ); } OpenOfficeResourceBundle::~OpenOfficeResourceBundle() -- cgit