summaryrefslogtreecommitdiff
path: root/vcl/source/app/svdata.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-02-22 15:38:12 +0200
committerNoel Grandin <noel@peralex.com>2016-02-22 15:38:35 +0200
commit84db33a4569c67c0164b85bd218246e1741f6815 (patch)
treec69a54c5f68e3f6d170a8f7c91617e476ed42ab7 /vcl/source/app/svdata.cxx
parent8fa439aa710bdd21e61910c02bfb9d8a8117eef4 (diff)
loplugin:commaoperator in vcl/
Change-Id: Ia5bbce27d9e9526122ce1e27389c7845e6709f27
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