summaryrefslogtreecommitdiff
path: root/framework/source
diff options
context:
space:
mode:
authorAriel Constenla-Haile <arielch@apache.org>2013-07-06 04:01:21 +0000
committerCaolán McNamara <caolanm@redhat.com>2013-07-08 10:44:41 +0100
commitf00d4f6dbf393bb41195430b1f54acbbefb85d9c (patch)
treea6e9b7c5917c8b431c91ba6c0776b0ac0d04e56f /framework/source
parentaa93c3c9a02c6c51b3908a3c2d8334bdfdbe2eed (diff)
Resolves: #i122678# Workaround for dynamic cast runtime bug
(cherry picked from commit be9ff0830ba1f8b3c782aa269c78657d264e48a9) Change-Id: I89a7b4ba8680606d97c26b9fde604f63ca814319
Diffstat (limited to 'framework/source')
-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() );