diff options
author | Ivo Hinkelmann <ihi@openoffice.org> | 2008-07-17 14:25:06 +0000 |
---|---|---|
committer | Ivo Hinkelmann <ihi@openoffice.org> | 2008-07-17 14:25:06 +0000 |
commit | c9211c7a6284c0086102c76c684a520b84fb31e7 (patch) | |
tree | 41cd9ba2ead4ecbef7d342078b0c76d36305cad1 | |
parent | a2b84e42497de88be91c0cad037e167568387b14 (diff) |
INTEGRATION: CWS logger2 (1.8.30); FILE MERGED
2008/07/08 13:26:21 b_michaelsen 1.8.30.3: #i88653# implemeted logging hooks solution without dispatch interception
2008/07/04 11:57:40 b_michaelsen 1.8.30.2: #i88653# removing appending of DispatchOrigin
2008/05/19 11:26:48 b_michaelsen 1.8.30.1: #i88653# added origin of dispatch to args for uilogging
-rw-r--r-- | framework/source/uielement/recentfilesmenucontroller.cxx | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/framework/source/uielement/recentfilesmenucontroller.cxx b/framework/source/uielement/recentfilesmenucontroller.cxx index 58d8dde5288a..374b318c205d 100644 --- a/framework/source/uielement/recentfilesmenucontroller.cxx +++ b/framework/source/uielement/recentfilesmenucontroller.cxx @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: recentfilesmenucontroller.cxx,v $ - * $Revision: 1.8 $ + * $Revision: 1.9 $ * * This file is part of OpenOffice.org. * @@ -67,6 +67,7 @@ #include <cppuhelper/implbase1.hxx> #include <osl/file.hxx> //#include <tools/solar.hrc> +#include <comphelper/uieventslogger.hxx> //_________________________________________________________________________________________________________________ // Defines @@ -530,6 +531,12 @@ IMPL_STATIC_LINK_NOINSTANCE( RecentFilesMenuController, ExecuteHdl_Impl, LoadRec // Asynchronous execution as this can lead to our own destruction! // Framework can recycle our current frame and the layout manager disposes all user interface // elements if a component gets detached from its frame! + if(::comphelper::UiEventsLogger::isEnabled()) //#i88653# + { + Sequence<PropertyValue> source; + ::comphelper::UiEventsLogger::appendDispatchOrigin(source, rtl::OUString::createFromAscii("RecentFilesMenuController")); + ::comphelper::UiEventsLogger::logDispatch(pLoadRecentFile->aTargetURL, source); + } pLoadRecentFile->xDispatch->dispatch( pLoadRecentFile->aTargetURL, pLoadRecentFile->aArgSeq ); } catch ( Exception& ) |