svx/source/gallery2/galbrws2.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit 379ab849b415d61c542fc5ebd613e94052df4afb Author: Xisco Fauli <[email protected]> AuthorDate: Mon Feb 11 11:54:17 2019 +0100 Commit: Xisco Faulí <[email protected]> CommitDate: Mon Feb 11 14:09:47 2019 +0100 tdf#22919 crash on insert picture as background from the gallery regression from commit commit 1b7bcaa714f0af45c6a9660d1f0940cb7931ba0f use unique_ptr in svx Follow-up from fc723fd872d5ffa52551f570b64c2b924d1cc97e Change-Id: I034583e848c6b030e77ed43893c1c7db44280add Reviewed-on: https://gerrit.libreoffice.org/67681 Reviewed-by: Noel Grandin <[email protected]> Reviewed-by: Xisco Faulí <[email protected]> Tested-by: Xisco Faulí <[email protected]> diff --git a/svx/source/gallery2/galbrws2.cxx b/svx/source/gallery2/galbrws2.cxx index 98d3b14dfbe8..b671bb343e01 100644 --- a/svx/source/gallery2/galbrws2.cxx +++ b/svx/source/gallery2/galbrws2.cxx @@ -219,9 +219,9 @@ void GalleryThemePopup::Execute( pInfo->Arguments = rArguments; pInfo->Dispatch = rCmdInfo.Dispatch; - if ( !Application::PostUserEvent( + if ( Application::PostUserEvent( LINK( nullptr, GalleryBrowser2, AsyncDispatch_Impl), pInfo.get() ) ) - pInfo.reset(); + pInfo.release(); } } _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
