diff options
author | Patrick Luby <guibmacdev@gmail.com> | 2024-11-07 08:52:37 -0500 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2024-11-08 10:16:43 +0100 |
commit | 1e99b33b9ab77874a3483ce6e192a58842794f2a (patch) | |
tree | f8eeea3b94545608fc5c60ab9585e14cd9db9bc4 /svtools | |
parent | cc9b55e8a8f8b8dbc81d17712cd848b1a6dfb206 (diff) |
Revert commit 2fe53b2e436cb236b2dc121ceec4f22de49a13a8
Commit 709b1f3ddb87303a2dec6155dbe0106369c151ed fixes the
root cause of the crash during a dynamic_cast so revert
commit 709b1f3ddb87303a2dec6155dbe0106369c151ed as it was
merely a workaround and is no longer needed.
Change-Id: Ia052913eba7fd4d979054ea6a644f4ff9791277c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176217
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/uno/popupmenucontrollerbase.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svtools/source/uno/popupmenucontrollerbase.cxx b/svtools/source/uno/popupmenucontrollerbase.cxx index 02d09d7d82a7..ab6bee1a0555 100644 --- a/svtools/source/uno/popupmenucontrollerbase.cxx +++ b/svtools/source/uno/popupmenucontrollerbase.cxx @@ -343,7 +343,7 @@ void SAL_CALL PopupMenuControllerBase::setPopupMenu( const Reference< awt::XPopu // Create popup menu on demand SolarMutexGuard aSolarMutexGuard; - m_xPopupMenu = dynamic_cast<VCLXMenu*>(xPopupMenu.get()); + m_xPopupMenu = dynamic_cast<VCLXPopupMenu*>(xPopupMenu.get()); assert(bool(xPopupMenu) == bool(m_xPopupMenu) && "we only support VCLXPopupMenu"); m_xPopupMenu->addMenuListener( Reference< awt::XMenuListener >(this) ); |