sc/source/ui/pagedlg/tphf.cxx | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit 5976b54198d24dcf1d8d1684da4da2cf334abe5d
Author: László Németh <[email protected]>
AuthorDate: Thu Jul 1 13:15:35 2021 +0200
Commit: László Németh <[email protected]>
CommitDate: Thu Jul 1 15:09:31 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 <[email protected]>
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
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits