diff options
author | Ivo Hinkelmann <ihi@openoffice.org> | 2008-07-17 14:24:40 +0000 |
---|---|---|
committer | Ivo Hinkelmann <ihi@openoffice.org> | 2008-07-17 14:24:40 +0000 |
commit | b77492e1f25524a63685b2407420a64c583fe158 (patch) | |
tree | 1b795dea23bc6a899e18bfe137fe0c0dbe1f01cb /framework/source | |
parent | ec52fdd549a777691c7a8c6748f6229efdf813ee (diff) |
INTEGRATION: CWS logger2 (1.11.30); FILE MERGED
2008/07/08 13:26:21 b_michaelsen 1.11.30.3: #i88653# implemeted logging hooks solution without dispatch interception
2008/07/04 11:57:40 b_michaelsen 1.11.30.2: #i88653# removing appending of DispatchOrigin
2008/05/19 11:26:48 b_michaelsen 1.11.30.1: #i88653# added origin of dispatch to args for uilogging
Diffstat (limited to 'framework/source')
-rw-r--r-- | framework/source/uielement/newmenucontroller.cxx | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/framework/source/uielement/newmenucontroller.cxx b/framework/source/uielement/newmenucontroller.cxx index 6d97810d86..c7e737acf1 100644 --- a/framework/source/uielement/newmenucontroller.cxx +++ b/framework/source/uielement/newmenucontroller.cxx @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: newmenucontroller.cxx,v $ - * $Revision: 1.11 $ + * $Revision: 1.12 $ * * This file is part of OpenOffice.org. * @@ -69,6 +69,7 @@ #include <svtools/menuoptions.hxx> #include <svtools/acceleratorexecute.hxx> #include <svtools/moduleoptions.hxx> +#include <comphelper/uieventslogger.hxx> //_________________________________________________________________________________________________________________ // Defines @@ -633,6 +634,12 @@ IMPL_STATIC_LINK_NOINSTANCE( NewMenuController, ExecuteHdl_Impl, NewDocument*, p // 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("NewMenuController")); + ::comphelper::UiEventsLogger::logDispatch(pNewDocument->aTargetURL, source); + } pNewDocument->xDispatch->dispatch( pNewDocument->aTargetURL, pNewDocument->aArgSeq ); /* } |