[Libreoffice-commits] core.git: Branch 'libreoffice-7-2' - sc/source

László Németh (via logerrit) logerrit at kemper.freedesktop.org
Thu Jul 1 14:36:52 UTC 2021


 sc/source/ui/pagedlg/tphf.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 43b7bde9d798e901de387b1ebefbd952f6f87834
Author:     László Németh <nemeth at numbertext.org>
AuthorDate: Thu Jul 1 13:15:35 2021 +0200
Commit:     László Németh <nemeth at 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 <nemeth at 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


More information about the Libreoffice-commits mailing list