diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2016-07-10 10:42:13 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2016-07-10 10:44:08 +0200 |
commit | 24460da8d18bcc0df87824a1402080a97a8797ab (patch) | |
tree | 7eeed01387dd4e9e0a9b67e5d332115d85e80341 /sfx2 | |
parent | 098d4a3b3f46213794e061a407eb40e9dc6c78d5 (diff) |
Menu's dispose needs non-zero ref count, tdf#100829
Change-Id: Ie1db4aa8ab2487b9ef058478a2f86d43cf8eba41
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/doc/templatedlg.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/doc/templatedlg.cxx b/sfx2/source/doc/templatedlg.cxx index 08a5709adb53..840e3ef104a7 100644 --- a/sfx2/source/doc/templatedlg.cxx +++ b/sfx2/source/doc/templatedlg.cxx @@ -286,8 +286,8 @@ void SfxTemplateManagerDlg::dispose() mpActionBar.clear(); mpSearchView.clear(); mpLocalView.clear(); - mpActionMenu.clear(); - mpTemplateDefaultMenu.clear(); + mpActionMenu.disposeAndClear(); + mpTemplateDefaultMenu.disposeAndClear(); ModalDialog::dispose(); } |