summaryrefslogtreecommitdiff
path: root/framework/source/uielement/fontmenucontroller.cxx
diff options
context:
space:
mode:
authorIvo Hinkelmann <ihi@openoffice.org>2008-07-17 14:22:07 +0000
committerIvo Hinkelmann <ihi@openoffice.org>2008-07-17 14:22:07 +0000
commit4fe16a5ba9ea3c46877ecdcf86de5ac216ec3abf (patch)
tree8ceab73bc66c9491b6eabd1767f1e2e18422548f /framework/source/uielement/fontmenucontroller.cxx
parent4dffcb5ddad3a422b422a0b52961557356dd442d (diff)
INTEGRATION: CWS logger2 (1.7.28); FILE MERGED
2008/07/08 13:26:20 b_michaelsen 1.7.28.4: #i88653# implemeted logging hooks solution without dispatch interception 2008/07/04 11:57:39 b_michaelsen 1.7.28.3: #i88653# removing appending of DispatchOrigin 2008/06/30 12:32:10 b_michaelsen 1.7.28.2: RESYNC: (1.7-1.8); FILE MERGED 2008/05/19 11:26:47 b_michaelsen 1.7.28.1: #i88653# added origin of dispatch to args for uilogging
Diffstat (limited to 'framework/source/uielement/fontmenucontroller.cxx')
-rw-r--r--framework/source/uielement/fontmenucontroller.cxx9
1 files changed, 8 insertions, 1 deletions
diff --git a/framework/source/uielement/fontmenucontroller.cxx b/framework/source/uielement/fontmenucontroller.cxx
index 657f0f324b37..530a951cfe8b 100644
--- a/framework/source/uielement/fontmenucontroller.cxx
+++ b/framework/source/uielement/fontmenucontroller.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: fontmenucontroller.cxx,v $
- * $Revision: 1.9 $
+ * $Revision: 1.10 $
*
* This file is part of OpenOffice.org.
*
@@ -62,6 +62,7 @@
#ifndef _VCL_MNEMONIC_HXX_
#include <vcl/mnemonic.hxx>
#endif
+#include <comphelper/uieventslogger.hxx>
//_________________________________________________________________________________________________________________
// Defines
@@ -213,6 +214,12 @@ void SAL_CALL FontMenuController::select( const css::awt::MenuEvent& rEvent ) th
}
xURLTransformer->parseStrict( aTargetURL );
+ if(::comphelper::UiEventsLogger::isEnabled()) //#i88653#
+ {
+ Sequence<PropertyValue> source;
+ ::comphelper::UiEventsLogger::appendDispatchOrigin(source, rtl::OUString::createFromAscii("FontMenuController"));
+ ::comphelper::UiEventsLogger::logDispatch(aTargetURL, source);
+ }
xDispatch->dispatch( aTargetURL, aArgs );
}
}