diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-09-12 16:04:05 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-09-12 20:33:30 +0200 |
commit | 3778399872ad592b4416e54a154e8bcc02d73a2e (patch) | |
tree | 6028e3a49070cae166e40f173904e1e931e8d610 /sfx2 | |
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>
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/control/dispatch.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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(); } } |