summaryrefslogtreecommitdiff
path: root/framework/source/uielement
diff options
context:
space:
mode:
authorIvo Hinkelmann <ihi@openoffice.org>2008-07-17 14:21:37 +0000
committerIvo Hinkelmann <ihi@openoffice.org>2008-07-17 14:21:37 +0000
commit116bdccd1c71cb3823db83e7bf8c724678573395 (patch)
tree7f8a282325dd60bf5d5e90796e5f06680810401a /framework/source/uielement
parent89c2bd5af5724ff19713317bb756aa1359417043 (diff)
INTEGRATION: CWS logger2 (1.8.30); FILE MERGED
2008/07/08 13:26:20 b_michaelsen 1.8.30.3: #i88653# implemeted logging hooks solution without dispatch interception 2008/07/04 11:57:39 b_michaelsen 1.8.30.2: #i88653# removing appending of DispatchOrigin 2008/05/19 11:26:47 b_michaelsen 1.8.30.1: #i88653# added origin of dispatch to args for uilogging
Diffstat (limited to 'framework/source/uielement')
-rw-r--r--framework/source/uielement/complextoolbarcontroller.cxx9
1 files changed, 8 insertions, 1 deletions
diff --git a/framework/source/uielement/complextoolbarcontroller.cxx b/framework/source/uielement/complextoolbarcontroller.cxx
index 8eccf575bc79..d51f46c78cb5 100644
--- a/framework/source/uielement/complextoolbarcontroller.cxx
+++ b/framework/source/uielement/complextoolbarcontroller.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: complextoolbarcontroller.cxx,v $
- * $Revision: 1.9 $
+ * $Revision: 1.10 $
*
* This file is part of OpenOffice.org.
*
@@ -65,6 +65,7 @@
#include <vcl/mnemonic.hxx>
#endif
#include <tools/urlobj.hxx>
+#include <comphelper/uieventslogger.hxx>
using namespace ::com::sun::star;
using namespace ::com::sun::star::awt;
@@ -239,6 +240,12 @@ IMPL_STATIC_LINK_NOINSTANCE( ComplexToolbarController, ExecuteHdl_Impl, ExecuteI
const sal_uInt32 nRef = Application::ReleaseSolarMutex();
try
{
+ if(::comphelper::UiEventsLogger::isEnabled()) //#i88653#
+ {
+ Sequence<PropertyValue> source;
+ ::comphelper::UiEventsLogger::appendDispatchOrigin(source, rtl::OUString::createFromAscii("ComplexToolbarController"));
+ ::comphelper::UiEventsLogger::logDispatch(pExecuteInfo->aTargetURL, source);
+ }
// 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!