controlmenucontroller.cxx (6d739b60) controlmenucontroller.cxx (d026be40)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 332 unchanged lines hidden (view full) ---

341 Reference< XDispatch > xDispatch = pIter->second;
342 if(::comphelper::UiEventsLogger::isEnabled()) //#i88653#
343 UiEventLogHelper(::rtl::OUString::createFromAscii("ControlMenuController")).log(m_xServiceManager, m_xFrame, aURL, aArgs);
344 if ( xDispatch.is() )
345 xDispatch->dispatch( aURL, aArgs );
346 }
347}
348
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 332 unchanged lines hidden (view full) ---

341 Reference< XDispatch > xDispatch = pIter->second;
342 if(::comphelper::UiEventsLogger::isEnabled()) //#i88653#
343 UiEventLogHelper(::rtl::OUString::createFromAscii("ControlMenuController")).log(m_xServiceManager, m_xFrame, aURL, aArgs);
344 if ( xDispatch.is() )
345 xDispatch->dispatch( aURL, aArgs );
346 }
347}
348
349void SAL_CALL ControlMenuController::activate( const css::awt::MenuEvent& ) throw (RuntimeException)
349void SAL_CALL ControlMenuController::itemActivated( const css::awt::MenuEvent& ) throw (RuntimeException)
350{
351 osl::ResettableMutexGuard aLock( m_aMutex );
352
353 if ( m_xPopupMenu.is() )
354 {
355 vos::OGuard aSolarMutexGuard( Application::GetSolarMutex() );
356
357 // Check if some modes have changed so we have to update our menu images

--- 82 unchanged lines hidden ---
350{
351 osl::ResettableMutexGuard aLock( m_aMutex );
352
353 if ( m_xPopupMenu.is() )
354 {
355 vos::OGuard aSolarMutexGuard( Application::GetSolarMutex() );
356
357 // Check if some modes have changed so we have to update our menu images

--- 82 unchanged lines hidden ---