[Libreoffice-commits] core.git: Branch 'libreoffice-6-1' - sfx2/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Thu Sep 13 06:32:30 UTC 2018


 sfx2/source/control/dispatch.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 7ba9e99b08b01b4fb869e3153a50f6b53dcca25f
Author:     Noel Grandin <noel.grandin at collabora.co.uk>
AuthorDate: Wed Sep 12 16:04:05 2018 +0200
Commit:     Noel Grandin <noel.grandin at collabora.co.uk>
CommitDate: Thu Sep 13 08:32:01 2018 +0200

    tdf#119802 LibreOffice crashes when I save multiple times in a row
    
    regression from
        commit c2452e52f644649723df10e3cd6bbd48d6bafb49
        loplugin:useuniqueptr in SfxDispatcher_Impl
    
    Change-Id: Ia6e097c72e8571540c9cbd1512aedd85e4c2433e
    Reviewed-on: https://gerrit.libreoffice.org/60395
    Tested-by: Jenkins
    Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>
    (cherry picked from commit 3778399872ad592b4416e54a154e8bcc02d73a2e)
    Reviewed-on: https://gerrit.libreoffice.org/60420

diff --git a/sfx2/source/control/dispatch.cxx b/sfx2/source/control/dispatch.cxx
index d3e403d70e9c..bda805ca4366 100644
--- a/sfx2/source/control/dispatch.cxx
+++ b/sfx2/source/control/dispatch.cxx
@@ -1956,7 +1956,7 @@ void SfxDispatcher::Lock( bool bLock )
     if ( !bLock )
     {
         for(size_t i = 0; i < xImp->aReqArr.size(); ++i)
-            xImp->xPoster->Post(xImp->aReqArr[i].get());
+            xImp->xPoster->Post(xImp->aReqArr[i].release());
         xImp->aReqArr.clear();
     }
 }


More information about the Libreoffice-commits mailing list