From 3bbc0cf67cd5aa0ec5a1997794d21a87830bc618 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 24 Jan 2020 13:22:32 +0200 Subject: loplugin:makeshared in svgio..writerperfect Change-Id: I0f8de0f78c7a8fb78d47ee5dfed09019b4eb5288 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87357 Tested-by: Jenkins Reviewed-by: Noel Grandin --- writerperfect/source/impress/KeynoteImportFilter.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'writerperfect/source') diff --git a/writerperfect/source/impress/KeynoteImportFilter.cxx b/writerperfect/source/impress/KeynoteImportFilter.cxx index d83f8acea431..0ffccf9f38d5 100644 --- a/writerperfect/source/impress/KeynoteImportFilter.cxx +++ b/writerperfect/source/impress/KeynoteImportFilter.cxx @@ -129,7 +129,7 @@ KeynoteImportFilter::detect(css::uno::Sequence& Descr { if (aContent.isFolder()) { - input.reset(new writerperfect::DirectoryStream(xContent)); + input = std::make_shared(xContent); bIsPackage = true; } } -- cgit