summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLászló Németh <nemeth@numbertext.org>2021-07-01 13:15:35 +0200
committerLászló Németh <nemeth@numbertext.org>2021-07-01 15:09:31 +0200
commit5976b54198d24dcf1d8d1684da4da2cf334abe5d (patch)
tree9a346d2d70e7742fc7dc05ab7c06a756aaa79755
parent5021a10f75870e7fa8f34e58512fd7c027debc68 (diff)
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 <nemeth@numbertext.org>
-rw-r--r--sc/source/ui/pagedlg/tphf.cxx2
1 files changed, 2 insertions, 0 deletions
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