summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-07-07 14:16:42 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-08-31 09:05:48 +0000
commitd3f5b205e4600bfa2ca062f404bb8e58b657c621 (patch)
tree1a1fb6d17cfe408328fd103637dcdce29824102c
parent44befc2dfcbffc338b65362ae734219556deb823 (diff)
VclPtr: no dialog loaded from a .ui ever actually destructed
Change-Id: I51a0596049a43cbc80f914f3d8491c2125c8109e Signed-off-by: Michael Meeks <michael.meeks@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/18158 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r--vcl/source/window/builder.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/vcl/source/window/builder.cxx b/vcl/source/window/builder.cxx
index 40d4614daa44..dba80c0d5bad 100644
--- a/vcl/source/window/builder.cxx
+++ b/vcl/source/window/builder.cxx
@@ -543,6 +543,7 @@ void VclBuilder::disposeBuilder()
delete aI->m_pMenu;
}
m_aMenus.clear();
+ m_pParent.clear();
}
void VclBuilder::handleTranslations(xmlreader::XmlReader &reader)