sc/source/ui/pagedlg/tphf.cxx | 2 ++ 1 file changed, 2 insertions(+) New commits: commit 43b7bde9d798e901de387b1ebefbd952f6f87834 Author: László Németh <nem...@numbertext.org> AuthorDate: Thu Jul 1 13:15:35 2021 +0200 Commit: László Németh <nem...@numbertext.org> CommitDate: Thu Jul 1 16:36:20 2021 +0200
sc: VclPtr, missing dispose (Page Style->Edit...->Header) Test under Linux: 1) Open Format->Page Style; 2) disable checkbox "Same content on left and right pages"; 3) click on the button "Edit..." to open the Header dialog; 4) click on "Ok". Change-Id: I2ce403a7a37d71f8f6510b6ad00028bc9f7fc5a9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/118221 Tested-by: Jenkins Reviewed-by: László Németh <nem...@numbertext.org> (cherry picked from commit 5976b54198d24dcf1d8d1684da4da2cf334abe5d) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/118181 diff --git a/sc/source/ui/pagedlg/tphf.cxx b/sc/source/ui/pagedlg/tphf.cxx index 2a8af81e01ec..406e23ed24bc 100644 --- a/sc/source/ui/pagedlg/tphf.cxx +++ b/sc/source/ui/pagedlg/tphf.cxx @@ -165,6 +165,8 @@ IMPL_LINK_NOARG(ScHFPage, BtnHdl, weld::Button&, void) { aDataSet.Put( *pDlg->GetOutputItemSet() ); } + + pDlg->disposeOnce(); }); } else _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits