summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2020-04-20 10:32:28 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-04-20 14:16:33 +0200
commitc902beec04331863a5f04a832f4a8e1fd9309a11 (patch)
tree38815d596b4884b626b014e28c2de70c14fad681
parente38c83af70ff1e077d28116702c55cad20cdef2a (diff)
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 <noel.grandin@collabora.co.uk>
-rw-r--r--vcl/source/gdi/impgraph.cxx2
1 files changed, 1 insertions, 1 deletions
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<ImpSwapFile>();
+ mpSwapFile = std::make_shared<ImpSwapFile>();
mpSwapFile->aSwapURL = aTmpURL;
mpSwapFile->maOriginURL = getOriginURL();
}