diff options
Diffstat (limited to 'framework')
-rw-r--r-- | framework/source/uielement/menubarmanager.cxx | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/framework/source/uielement/menubarmanager.cxx b/framework/source/uielement/menubarmanager.cxx index 1249d269bd63..10988fc97c71 100644 --- a/framework/source/uielement/menubarmanager.cxx +++ b/framework/source/uielement/menubarmanager.cxx @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: menubarmanager.cxx,v $ - * $Revision: 1.51 $ + * $Revision: 1.52 $ * * This file is part of OpenOffice.org. * @@ -99,6 +99,7 @@ #include "svtools/miscopt.hxx" #include <classes/addonmenu.hxx> #include <uielement/menubarmerger.hxx> +#include <comphelper/uieventslogger.hxx> //_________________________________________________________________________________________________________________ // namespace @@ -1397,6 +1398,12 @@ IMPL_LINK( MenuBarManager, Select, Menu *, pMenu ) if ( xDispatch.is() ) { const sal_uInt32 nRef = Application::ReleaseSolarMutex(); + if(::comphelper::UiEventsLogger::isEnabled()) //#i88653# + { + Sequence<PropertyValue> source; + ::comphelper::UiEventsLogger::appendDispatchOrigin(source, rtl::OUString::createFromAscii("MenuBarManager")); + ::comphelper::UiEventsLogger::logDispatch(aTargetURL, source); + } xDispatch->dispatch( aTargetURL, aArgs ); Application::AcquireSolarMutex( nRef ); } |