| commit | 3778399872ad592b4416e54a154e8bcc02d73a2e | [log] |
|---|---|---|
| author | Noel Grandin <noel.grandin@collabora.co.uk> | Wed Sep 12 16:04:05 2018 +0200 |
| committer | Noel Grandin <noel.grandin@collabora.co.uk> | Wed Sep 12 20:33:30 2018 +0200 |
| tree | 6028e3a49070cae166e40f173904e1e931e8d610 | |
| parent | ca762d7016ac1271a17e2d4371cca71a78455376 [diff] |
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@collabora.co.uk>
diff --git a/sfx2/source/control/dispatch.cxx b/sfx2/source/control/dispatch.cxx index f590aae6..2b39a7df 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(); } }