summaryrefslogtreecommitdiff
path: root/framework/source/uielement
diff options
context:
space:
mode:
authorIvo Hinkelmann <ihi@openoffice.org>2008-07-17 14:23:33 +0000
committerIvo Hinkelmann <ihi@openoffice.org>2008-07-17 14:23:33 +0000
commit6b6cc3aab0e4e6a999cb126f2e1d8fc2cf833e80 (patch)
tree0ed12bfc7f0bdd5e8f7367c51a806aaf3a93b020 /framework/source/uielement
parent78cbc17694cea587daaf6f6e71a97c2ce2654036 (diff)
INTEGRATION: CWS logger2 (1.4.30); FILE MERGED
2008/07/17 10:10:33 b_michaelsen 1.4.30.4: RESYNC: (1.4-1.5); FILE MERGED 2008/07/08 13:26:21 b_michaelsen 1.4.30.3: #i88653# implemeted logging hooks solution without dispatch interception 2008/07/04 11:57:40 b_michaelsen 1.4.30.2: #i88653# removing appending of DispatchOrigin 2008/05/19 11:26:47 b_michaelsen 1.4.30.1: #i88653# added origin of dispatch to args for uilogging
Diffstat (limited to 'framework/source/uielement')
-rw-r--r--framework/source/uielement/langselectionmenucontroller.cxx9
1 files changed, 8 insertions, 1 deletions
diff --git a/framework/source/uielement/langselectionmenucontroller.cxx b/framework/source/uielement/langselectionmenucontroller.cxx
index 9a8f5523bbf8..e08be728fba2 100644
--- a/framework/source/uielement/langselectionmenucontroller.cxx
+++ b/framework/source/uielement/langselectionmenucontroller.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: langselectionmenucontroller.cxx,v $
- * $Revision: 1.5 $
+ * $Revision: 1.6 $
*
* This file is part of OpenOffice.org.
*
@@ -77,6 +77,7 @@
#ifndef __FRAMEWORK_CLASSES_RESOURCE_HRC_
#include <classes/resource.hrc>
#endif
+#include <comphelper/uieventslogger.hxx>
//_________________________________________________________________________________________________________________
// Defines
@@ -233,6 +234,12 @@ void SAL_CALL LanguageSelectionMenuController::select( const css::awt::MenuEvent
if ( xDispatch.is() )
{
+ if(::comphelper::UiEventsLogger::isEnabled()) //#i88653#
+ {
+ Sequence<PropertyValue> source;
+ ::comphelper::UiEventsLogger::appendDispatchOrigin(source, rtl::OUString::createFromAscii("LanguageSelectionMenuController"));
+ ::comphelper::UiEventsLogger::logDispatch(aTargetURL, source);
+ }
xDispatch->dispatch( aTargetURL, aArgs );
}
}