diff options
author | Samuel Mehrbrodt <samuel.mehrbrodt@allotropia.de> | 2022-06-02 15:51:47 +0200 |
---|---|---|
committer | Xisco Fauli <xiscofauli@libreoffice.org> | 2022-06-15 06:56:08 +0200 |
commit | 45d400ec42a59b03aca00cf1e08e3a9be2488537 (patch) | |
tree | edebdaf8651a6799048dca129f6c4e9266d37809 /svgio/qa/cppunit/SvgImportTest.cxx | |
parent | d26e960fb3cb6dcff887654b3ec51e5cdea5a878 (diff) |
Fix leak with stock widgets in a dialog from an extension
When loading a dialog from XDL, buttons can have dlg:button-type="cancel"
or dlg:button-type="help". These buttons might not have a peer when
they are not referenced from the extension.
In this case, they also weren't disposed when the dialog was disposed,
leading to an abort on exit.
Change-Id: I799d7535b766984fde47cafbe41ee6e89e476205
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135266
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Samuel Mehrbrodt <samuel.mehrbrodt@allotropia.de>
(cherry picked from commit 4879f99b824036b3d409ed52f74dc3eb3b4949e4)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135745
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
Diffstat (limited to 'svgio/qa/cppunit/SvgImportTest.cxx')
0 files changed, 0 insertions, 0 deletions