diff options
-rw-r--r-- | vcl/source/gdi/impgraph.cxx | 2 |
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(); } |