download.lst | 4 ++-- framework/source/uielement/menubarmanager.cxx | 11 ++++++++++- 2 files changed, 12 insertions(+), 3 deletions(-)
New commits: commit 6c8e7c60bd2b213ba3021eeacfb93f08a86d660c Author: Xisco Fauli <xiscofa...@libreoffice.org> AuthorDate: Mon Mar 25 11:23:27 2024 +0100 Commit: Christian Lohmaier <lohmaier+libreoff...@googlemail.com> CommitDate: Mon Apr 22 14:09:08 2024 +0200 postgresql: upgrade to release 13.14 Change-Id: Ia9607fd9c8dad9d5936e867ad76b18a476f1057f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165278 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofa...@libreoffice.org> (cherry picked from commit e311a6a09d753fb566f248d653434f10a4645e63) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165238 Reviewed-by: Christian Lohmaier <lohmaier+libreoff...@googlemail.com> diff --git a/download.lst b/download.lst index 5294f74dc6aa..b50ccbe3ebb2 100644 --- a/download.lst +++ b/download.lst @@ -465,8 +465,8 @@ POPPLER_DATA_TARBALL := poppler-data-0.4.12.tar.gz # three static lines # so that git cherry-pick # will not run into conflicts -POSTGRESQL_SHA256SUM := 4992ff647203566b670d4e54dc5317499a26856c93576d0ea951bdf6bee50bfb -POSTGRESQL_TARBALL := postgresql-13.11.tar.bz2 +POSTGRESQL_SHA256SUM := b8df078551898960bd500dc5d38a177e9905376df81fe7f2b660a1407fa6a5ed +POSTGRESQL_TARBALL := postgresql-13.14.tar.bz2 # three static lines # so that git cherry-pick # will not run into conflicts commit 83ac63d00243467ddaa9ed8031a8fa8ada20d1fb Author: Michael Stahl <michael.st...@allotropia.de> AuthorDate: Wed Mar 20 21:42:50 2024 +0100 Commit: Christian Lohmaier <lohmaier+libreoff...@googlemail.com> CommitDate: Mon Apr 22 14:08:56 2024 +0200 framework: MenuBarManager: fix WNT crash if queryDispatch() throws a Java extension throws RuntimeException from queryDispatch(), which is translated to a C++ exception and thrown by the mscx_uno bridge, and this is apparently not handled anywhere (Visual Studio says "Unhandled Exception"), and what happens then apparently is the exception goes poof and vanishes, and normal return from the mscx_uno bridge code happens, but the out parameter used for the return value is never initialised, and then the uno::Reference move assignment operator crashes. Change-Id: I21535fcf0ab4ec30a712d01b5039b7e2fb7b09d7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165081 Tested-by: Michael Stahl <michael.st...@allotropia.de> Reviewed-by: Michael Stahl <michael.st...@allotropia.de> (cherry picked from commit 447a15f4772bcbc9366cfa43b92c55ae644e9b03) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165114 Tested-by: Jenkins Reviewed-by: Christian Lohmaier <lohmaier+libreoff...@googlemail.com> diff --git a/framework/source/uielement/menubarmanager.cxx b/framework/source/uielement/menubarmanager.cxx index edbd88d2250c..fce1929d28e7 100644 --- a/framework/source/uielement/menubarmanager.cxx +++ b/framework/source/uielement/menubarmanager.cxx @@ -664,7 +664,16 @@ IMPL_LINK( MenuBarManager, Activate, Menu *, pMenu, bool ) if ( aTargetURL.Complete.startsWith( ".uno:StyleApply?" ) ) xMenuItemDispatch = new StyleDispatcher( m_xFrame, m_xURLTransformer, aTargetURL ); else - xMenuItemDispatch = xDispatchProvider->queryDispatch( aTargetURL, menuItemHandler->aTargetFrame, 0 ); + { + try + { + xMenuItemDispatch = xDispatchProvider->queryDispatch( aTargetURL, menuItemHandler->aTargetFrame, 0 ); + } + catch (uno::Exception const&) + { + TOOLS_WARN_EXCEPTION("fwk.uielement", "MenuBarManager::Activate(): exception from queryDispatch()"); + } + } bool bPopupMenu( false ); if ( !menuItemHandler->xPopupMenuController.is() &&