summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--framework/source/uielement/popuptoolbarcontroller.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/framework/source/uielement/popuptoolbarcontroller.cxx b/framework/source/uielement/popuptoolbarcontroller.cxx
index 26ac39cb7b45..1660e6cfec37 100644
--- a/framework/source/uielement/popuptoolbarcontroller.cxx
+++ b/framework/source/uielement/popuptoolbarcontroller.cxx
@@ -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() );