[Libreoffice-commits] core.git: svx/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Thu Feb 7 14:49:34 UTC 2019
svx/source/gallery2/galbrws2.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit fc723fd872d5ffa52551f570b64c2b924d1cc97e
Author: Noel Grandin <noel.grandin at collabora.co.uk>
AuthorDate: Thu Feb 7 15:15:29 2019 +0200
Commit: Noel Grandin <noel.grandin at collabora.co.uk>
CommitDate: Thu Feb 7 15:49:09 2019 +0100
tdf#22919 crash on insert picture from the gallery
regression from commit
commit 1b7bcaa714f0af45c6a9660d1f0940cb7931ba0f
use unique_ptr in svx
Change-Id: Ie3ced1f13ae3d35205174a02d6cbc2c19a171871
Reviewed-on: https://gerrit.libreoffice.org/67498
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>
diff --git a/svx/source/gallery2/galbrws2.cxx b/svx/source/gallery2/galbrws2.cxx
index 83b0bead0f04..3b61f6356f30 100644
--- a/svx/source/gallery2/galbrws2.cxx
+++ b/svx/source/gallery2/galbrws2.cxx
@@ -1081,9 +1081,9 @@ void GalleryBrowser2::DispatchAdd(
pInfo->Arguments = aArgs;
pInfo->Dispatch = xDispatch;
- if ( !Application::PostUserEvent(
+ if ( Application::PostUserEvent(
LINK( nullptr, GalleryBrowser2, AsyncDispatch_Impl), pInfo.get() ) )
- pInfo.reset();
+ pInfo.release();
}
void GalleryBrowser2::Execute(const OString &rIdent)
More information about the Libreoffice-commits
mailing list