From c902beec04331863a5f04a832f4a8e1fd9309a11 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 20 Apr 2020 10:32:28 +0200 Subject: should be using make_shared here Change-Id: I295eaef9309c0cfbe3aa6fd8386dd12fbb8d1a03 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/92525 Tested-by: Jenkins Reviewed-by: Noel Grandin --- vcl/source/gdi/impgraph.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vcl/source/gdi/impgraph.cxx b/vcl/source/gdi/impgraph.cxx index b5d59f29f7f6..573e4292ab0c 100644 --- a/vcl/source/gdi/impgraph.cxx +++ b/vcl/source/gdi/impgraph.cxx @@ -1327,7 +1327,7 @@ bool ImpGraphic::ImplSwapOut() bRet = ImplSwapOut( xOStm.get() ); if( bRet ) { - mpSwapFile = std::make_unique(); + mpSwapFile = std::make_shared(); mpSwapFile->aSwapURL = aTmpURL; mpSwapFile->maOriginURL = getOriginURL(); } -- cgit