[Libreoffice-commits] core.git: Branch 'aoo/trunk' - framework/source
Ariel Constenla-Haile
arielch at apache.org
Fri Jul 5 21:07:10 PDT 2013
framework/source/uielement/popuptoolbarcontroller.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit be9ff0830ba1f8b3c782aa269c78657d264e48a9
Author: Ariel Constenla-Haile <arielch at apache.org>
Date: Sat Jul 6 04:01:21 2013 +0000
i122678 - Workaround for dynamic cast runtime bug
diff --git a/framework/source/uielement/popuptoolbarcontroller.cxx b/framework/source/uielement/popuptoolbarcontroller.cxx
index cb19d84..5e160d4 100644
--- a/framework/source/uielement/popuptoolbarcontroller.cxx
+++ b/framework/source/uielement/popuptoolbarcontroller.cxx
@@ -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() );
More information about the Libreoffice-commits
mailing list