[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-6.0' - sfx2/source

Muhammet Kara (via logerrit) logerrit at kemper.freedesktop.org
Mon Aug 26 13:27:56 UTC 2019


 sfx2/source/doc/autoredactdialog.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 972c3f9c6b981ee1cc8d969e881691db428e521c
Author:     Muhammet Kara <muhammet.kara at collabora.com>
AuthorDate: Mon Aug 26 16:03:08 2019 +0300
Commit:     Aron Budea <aron.budea at collabora.com>
CommitDate: Mon Aug 26 15:26:48 2019 +0200

    Fix crash on AutoRedact Dialog close with empty list
    
    [NO-FORWARD-PORT]
    
    Change-Id: I4f5963f0c6555aecb62fd12ab97792f001e0ed27
    Reviewed-on: https://gerrit.libreoffice.org/78138
    Reviewed-by: Aron Budea <aron.budea at collabora.com>
    Tested-by: Aron Budea <aron.budea at collabora.com>

diff --git a/sfx2/source/doc/autoredactdialog.cxx b/sfx2/source/doc/autoredactdialog.cxx
index 367482a8cbf7..b3f34c090aaf 100644
--- a/sfx2/source/doc/autoredactdialog.cxx
+++ b/sfx2/source/doc/autoredactdialog.cxx
@@ -612,6 +612,8 @@ SfxAutoRedactDialog::~SfxAutoRedactDialog()
         SvtViewOptions aDlgOpt(EViewType::Dialog,
                                OStringToOUString(GetHelpId(), RTL_TEXTENCODING_UTF8));
         aDlgOpt.Delete();
+
+        disposeOnce();
         return;
     }
 


More information about the Libreoffice-commits mailing list