summaryrefslogtreecommitdiff
path: root/vcl/source/app/svdata.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/app/svdata.cxx')
-rw-r--r--vcl/source/app/svdata.cxx25
1 files changed, 20 insertions, 5 deletions
diff --git a/vcl/source/app/svdata.cxx b/vcl/source/app/svdata.cxx
index 19c663a5b1f9..dd34d106a85b 100644
--- a/vcl/source/app/svdata.cxx
+++ b/vcl/source/app/svdata.cxx
@@ -100,17 +100,32 @@ void ImplDeInitSVData()
// delete global instance data
if( pSVData->mpSettingsConfigItem )
- delete pSVData->mpSettingsConfigItem, pSVData->mpSettingsConfigItem = nullptr;
+ {
+ delete pSVData->mpSettingsConfigItem;
+ pSVData->mpSettingsConfigItem = nullptr;
+ }
if( pSVData->mpDockingManager )
- delete pSVData->mpDockingManager, pSVData->mpDockingManager = nullptr;
+ {
+ delete pSVData->mpDockingManager;
+ pSVData->mpDockingManager = nullptr;
+ }
if( pSVData->maCtrlData.mpFieldUnitStrings )
- delete pSVData->maCtrlData.mpFieldUnitStrings, pSVData->maCtrlData.mpFieldUnitStrings = nullptr;
+ {
+ delete pSVData->maCtrlData.mpFieldUnitStrings;
+ pSVData->maCtrlData.mpFieldUnitStrings = nullptr;
+ }
if( pSVData->maCtrlData.mpCleanUnitStrings )
- delete pSVData->maCtrlData.mpCleanUnitStrings, pSVData->maCtrlData.mpCleanUnitStrings = nullptr;
+ {
+ delete pSVData->maCtrlData.mpCleanUnitStrings;
+ pSVData->maCtrlData.mpCleanUnitStrings = nullptr;
+ }
if( pSVData->mpPaperNames )
- delete pSVData->mpPaperNames, pSVData->mpPaperNames = nullptr;
+ {
+ delete pSVData->mpPaperNames;
+ pSVData->mpPaperNames = nullptr;
+ }
}
/// Returns either the application window, or the default GL context window