diff options
author | Noel Grandin <noel@peralex.com> | 2015-02-12 15:29:18 +0200 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2015-04-09 22:21:04 +0100 |
commit | 125895c355ebc9f60e792cdfffdf790c10c950cc (patch) | |
tree | 5a8882d7a10b512b6c6d6c7e3752b24426aefdf1 /vcl/source/app/svmain.cxx | |
parent | f7811b53c95410b8f1aa65b93b65701fd427a64f (diff) |
vcl:fixes towards unit test happiness
Change-Id: Ic0a3075c7616f604b93228dff149931cf25a5ed8
Diffstat (limited to 'vcl/source/app/svmain.cxx')
-rw-r--r-- | vcl/source/app/svmain.cxx | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/vcl/source/app/svmain.cxx b/vcl/source/app/svmain.cxx index a80d576c1987..fce2961c2c53 100644 --- a/vcl/source/app/svmain.cxx +++ b/vcl/source/app/svmain.cxx @@ -423,11 +423,7 @@ void DeInitVCL() delete pSVData->maCtrlData.mpDisclosureMinus; pSVData->maCtrlData.mpDisclosureMinus = NULL; } - if ( pSVData->mpDefaultWin ) - { - delete pSVData->mpDefaultWin; - pSVData->mpDefaultWin = NULL; - } + pSVData->mpDefaultWin.disposeAndClear(); DBGGUI_DEINIT_SOLARMUTEXCHECK(); |