framework/source/uielement/popuptoolbarcontroller.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit be9ff0830ba1f8b3c782aa269c78657d264e48a9
Author: Ariel Constenla-Haile <arie...@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() );
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to