summaryrefslogtreecommitdiff
path: root/vcl/source/app/svmain.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/app/svmain.cxx')
-rw-r--r--vcl/source/app/svmain.cxx15
1 files changed, 12 insertions, 3 deletions
diff --git a/vcl/source/app/svmain.cxx b/vcl/source/app/svmain.cxx
index 1546bc39af6c..5fdd2687d013 100644
--- a/vcl/source/app/svmain.cxx
+++ b/vcl/source/app/svmain.cxx
@@ -383,10 +383,16 @@ void DeInitVCL()
delete pSVData->maGDIData.mpGrfConverter;
if( pSVData->mpSettingsConfigItem )
- delete pSVData->mpSettingsConfigItem, pSVData->mpSettingsConfigItem = nullptr;
+ {
+ delete pSVData->mpSettingsConfigItem;
+ pSVData->mpSettingsConfigItem = nullptr;
+ }
if ( pSVData->maAppData.mpIdleMgr )
- delete pSVData->maAppData.mpIdleMgr, pSVData->maAppData.mpIdleMgr = nullptr;
+ {
+ delete pSVData->maAppData.mpIdleMgr;
+ pSVData->maAppData.mpIdleMgr = nullptr;
+ }
Scheduler::ImplDeInitScheduler();
if ( pSVData->maWinData.mpMsgBoxImgList )
@@ -526,7 +532,10 @@ void DeInitVCL()
ImplFreeEventHookData();
if (pSVData->mpBlendFrameCache)
- delete pSVData->mpBlendFrameCache, pSVData->mpBlendFrameCache = nullptr;
+ {
+ delete pSVData->mpBlendFrameCache;
+ pSVData->mpBlendFrameCache = nullptr;
+ }
if (pSVData->mpCommandInfoProvider)
{