Kaydet (Commit) be9ff083 authored tarafından Ariel Constenla-Haile's avatar Ariel Constenla-Haile

i122678 - Workaround for dynamic cast runtime bug

üst 8b38aea2
......@@ -305,8 +305,8 @@ NewToolbarController::execute( sal_Int16 /*KeyModifier*/ )
{
// TODO investigate how to wrap Get/SetUserValue in css::awt::XMenu
MenuConfiguration::Attributes* pMenuAttributes( 0 );
VCLXPopupMenu* pTkPopupMenu = dynamic_cast< VCLXPopupMenu * >(
VCLXMenu::GetImplementation( m_xPopupMenu ) );
VCLXPopupMenu* pTkPopupMenu =
( VCLXPopupMenu * ) VCLXMenu::GetImplementation( m_xPopupMenu );
vos::OGuard aSolarMutexGuard( Application::GetSolarMutex() );
PopupMenu* pVCLPopupMenu = dynamic_cast< PopupMenu * >( pTkPopupMenu->GetMenu() );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment