summaryrefslogtreecommitdiff
path: root/framework/source/uielement/footermenucontroller.cxx
diff options
context:
space:
mode:
authorIvo Hinkelmann <ihi@openoffice.org>2008-07-17 14:23:19 +0000
committerIvo Hinkelmann <ihi@openoffice.org>2008-07-17 14:23:19 +0000
commit78cbc17694cea587daaf6f6e71a97c2ce2654036 (patch)
tree5d7120f660f8d248ec7158c11e17fab918342ac7 /framework/source/uielement/footermenucontroller.cxx
parent61d2b95aae172e42f197eac1d707cc2409486ccd (diff)
INTEGRATION: CWS logger2 (1.9.30); FILE MERGED
2008/07/08 13:26:21 b_michaelsen 1.9.30.3: #i88653# implemeted logging hooks solution without dispatch interception 2008/07/04 11:57:39 b_michaelsen 1.9.30.2: #i88653# removing appending of DispatchOrigin 2008/05/19 11:26:47 b_michaelsen 1.9.30.1: #i88653# added origin of dispatch to args for uilogging
Diffstat (limited to 'framework/source/uielement/footermenucontroller.cxx')
-rw-r--r--framework/source/uielement/footermenucontroller.cxx9
1 files changed, 8 insertions, 1 deletions
diff --git a/framework/source/uielement/footermenucontroller.cxx b/framework/source/uielement/footermenucontroller.cxx
index c8e5ba40b1b4..682e47be5450 100644
--- a/framework/source/uielement/footermenucontroller.cxx
+++ b/framework/source/uielement/footermenucontroller.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: footermenucontroller.cxx,v $
- * $Revision: 1.9 $
+ * $Revision: 1.10 $
*
* This file is part of OpenOffice.org.
*
@@ -65,6 +65,7 @@
#include <vcl/i18nhelp.hxx>
#include <tools/urlobj.hxx>
#include <rtl/ustrbuf.hxx>
+#include <comphelper/uieventslogger.hxx>
//_________________________________________________________________________________________________________________
// Defines
@@ -273,6 +274,12 @@ void SAL_CALL FooterMenuController::select( const css::awt::MenuEvent& rEvent )
}
xURLTransformer->parseStrict( aTargetURL );
+ if(::comphelper::UiEventsLogger::isEnabled()) //#i88653#
+ {
+ Sequence<PropertyValue> source(1);
+ ::comphelper::UiEventsLogger::appendDispatchOrigin(source, rtl::OUString::createFromAscii("FooterMenuController"));
+ ::comphelper::UiEventsLogger::logDispatch(aTargetURL, source);
+ }
xDispatch->dispatch( aTargetURL, aArgs );
}
}