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/window/splitwin.cxx | |
parent | f7811b53c95410b8f1aa65b93b65701fd427a64f (diff) |
vcl:fixes towards unit test happiness
Change-Id: Ic0a3075c7616f604b93228dff149931cf25a5ed8
Diffstat (limited to 'vcl/source/window/splitwin.cxx')
-rw-r--r-- | vcl/source/window/splitwin.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/vcl/source/window/splitwin.cxx b/vcl/source/window/splitwin.cxx index 9f63ae3493db..2b701e9dcd07 100644 --- a/vcl/source/window/splitwin.cxx +++ b/vcl/source/window/splitwin.cxx @@ -1353,7 +1353,8 @@ SplitWindow::~SplitWindow() void SplitWindow::dispose() { // delete Sets - ImplDeleteSet( mpMainSet ); + if (mpMainSet) + ImplDeleteSet( mpMainSet ); mpMainSet = NULL; //NULL for base-class callbacks during dtoring DockingWindow::dispose(); } |