diff options
Diffstat (limited to 'vcl/source/app/svmain.cxx')
-rw-r--r-- | vcl/source/app/svmain.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/app/svmain.cxx b/vcl/source/app/svmain.cxx index 998ece19dc21..23663c56ad9d 100644 --- a/vcl/source/app/svmain.cxx +++ b/vcl/source/app/svmain.cxx @@ -355,8 +355,8 @@ bool InitVCL() pSVData->maAppData.mxAppFileName = aNativeFileName; // Initialize global data - pSVData->maGDIData.mxScreenFontList.reset(new PhysicalFontCollection); - pSVData->maGDIData.mxScreenFontCache.reset(new ImplFontCache); + pSVData->maGDIData.mxScreenFontList = std::make_shared<PhysicalFontCollection>(); + pSVData->maGDIData.mxScreenFontCache = std::make_shared<ImplFontCache>(); pSVData->maGDIData.mpGrfConverter = new GraphicConverter; g_bIsLeanException = getenv("LO_LEAN_EXCEPTION") != nullptr; |