sfx2/source/control/dispatch.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 3778399872ad592b4416e54a154e8bcc02d73a2e Author: Noel Grandin <noel.gran...@collabora.co.uk> AuthorDate: Wed Sep 12 16:04:05 2018 +0200 Commit: Noel Grandin <noel.gran...@collabora.co.uk> CommitDate: Wed Sep 12 20:33:30 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.gran...@collabora.co.uk> diff --git a/sfx2/source/control/dispatch.cxx b/sfx2/source/control/dispatch.cxx index f590aae6f8ca..2b39a7dfbef7 100644 --- a/sfx2/source/control/dispatch.cxx +++ b/sfx2/source/control/dispatch.cxx @@ -1957,7 +1957,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(); } } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits