summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
authorIvo Hinkelmann <ihi@openoffice.org>2008-07-17 14:22:23 +0000
committerIvo Hinkelmann <ihi@openoffice.org>2008-07-17 14:22:23 +0000
commitadb1a5f688bbc5238eeea270ba90d397035e8bc5 (patch)
tree9baad24fcfdf07deb43d487891f9b93464b68e5a /framework
parentd720c7a79afa0f9267c0638a61e1b786da9b2466 (diff)
INTEGRATION: CWS logger2 (1.9.30); FILE MERGED
2008/07/08 13:26:20 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')
-rw-r--r--framework/source/uielement/fontsizemenucontroller.cxx9
1 files changed, 8 insertions, 1 deletions
diff --git a/framework/source/uielement/fontsizemenucontroller.cxx b/framework/source/uielement/fontsizemenucontroller.cxx
index 8fb8f764f6..f593c0a1d5 100644
--- a/framework/source/uielement/fontsizemenucontroller.cxx
+++ b/framework/source/uielement/fontsizemenucontroller.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: fontsizemenucontroller.cxx,v $
- * $Revision: 1.9 $
+ * $Revision: 1.10 $
*
* This file is part of OpenOffice.org.
*
@@ -67,6 +67,7 @@
#ifndef _SVTOOLS_CTRLTOOL_HXX_
#include <svtools/ctrltool.hxx>
#endif
+#include <comphelper/uieventslogger.hxx>
//_________________________________________________________________________________________________________________
// Defines
@@ -358,6 +359,12 @@ void SAL_CALL FontSizeMenuController::select( const css::awt::MenuEvent& rEvent
}
xURLTransformer->parseStrict( aTargetURL );
+ if(::comphelper::UiEventsLogger::isEnabled()) //#i88653#
+ {
+ Sequence<PropertyValue> source;
+ ::comphelper::UiEventsLogger::appendDispatchOrigin(source, rtl::OUString::createFromAscii("FontSizeMenuController"));
+ ::comphelper::UiEventsLogger::logDispatch(aTargetURL, source);
+ }
xDispatch->dispatch( aTargetURL, aArgs );
}
}