diff options
author | Michael Meeks <michael.meeks@collabora.com> | 2015-03-26 22:38:03 +0000 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2015-04-10 13:09:54 +0100 |
commit | dc60f2a95552ab440dcdacca8969eb3bcc2758c1 (patch) | |
tree | cec48485816759e6dd40306da6a5f8886ccf3ef3 /vcl/source | |
parent | 1757fb4a49050ecef14c0c71b81cee9a0759e36b (diff) |
get messagebox dispose ordering right.
Change-Id: Ia7085cf98141fdbd50cf9cc9ed45e2e0c09e448e
Diffstat (limited to 'vcl/source')
-rw-r--r-- | vcl/source/window/layout.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/vcl/source/window/layout.cxx b/vcl/source/window/layout.cxx index 34de14a1aeb3..3bc1a633cda1 100644 --- a/vcl/source/window/layout.cxx +++ b/vcl/source/window/layout.cxx @@ -2034,13 +2034,13 @@ void MessageDialog::dispose() m_aOwnedButtons[i].disposeAndClear(); m_aOwnedButtons.clear(); - m_pSecondaryMessage.clear(); - m_pSecondaryMessage.clear(); - m_pImage.clear(); + m_pPrimaryMessage.disposeAndClear(); + m_pSecondaryMessage.disposeAndClear(); + m_pSecondaryMessage.disposeAndClear(); + m_pImage.disposeAndClear(); m_pGrid.disposeAndClear(); m_pOwnedActionArea.disposeAndClear(); m_pOwnedContentArea.disposeAndClear(); - m_pPrimaryMessage.clear(); Dialog::dispose(); } |