[Libreoffice-commits] core.git: Branch 'feature/vclref' - vcl/source

Michael Meeks michael.meeks at collabora.com
Thu Mar 26 15:33:22 PDT 2015


 vcl/source/window/layout.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit f0ece36944e2a50edf89746795826a329e9d0800
Author: Michael Meeks <michael.meeks at collabora.com>
Date:   Thu Mar 26 22:38:03 2015 +0000

    get messagebox dispose ordering right.
    
    Change-Id: Ia7085cf98141fdbd50cf9cc9ed45e2e0c09e448e

diff --git a/vcl/source/window/layout.cxx b/vcl/source/window/layout.cxx
index d176356..f47b6dc 100644
--- a/vcl/source/window/layout.cxx
+++ b/vcl/source/window/layout.cxx
@@ -2020,13 +2020,13 @@ void MessageDialog::dispose()
         m_aOwnedButtons[i].disposeAndClear();
     m_aOwnedButtons.clear();
 
+    m_pPrimaryMessage.disposeAndClear();
     m_pSecondaryMessage.disposeAndClear();
     m_pSecondaryMessage.disposeAndClear();
     m_pImage.disposeAndClear();
     m_pGrid.disposeAndClear();
     m_pOwnedActionArea.disposeAndClear();
     m_pOwnedContentArea.disposeAndClear();
-    m_pPrimaryMessage.disposeAndClear();
     Dialog::dispose();
 }
 


More information about the Libreoffice-commits mailing list