Kaydet (Commit) f00d4f6d authored tarafından Ariel Constenla-Haile's avatar Ariel Constenla-Haile Kaydeden (comit) Caolán McNamara

Resolves: #i122678# Workaround for dynamic cast runtime bug

(cherry picked from commit be9ff083)

Change-Id: I89a7b4ba8680606d97c26b9fde604f63ca814319
üst aa93c3c9
......@@ -297,8 +297,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 );
SolarMutexGuard aSolarMutexGuard;
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