diff options
author | Ivo Hinkelmann <ihi@openoffice.org> | 2008-07-17 14:21:24 +0000 |
---|---|---|
committer | Ivo Hinkelmann <ihi@openoffice.org> | 2008-07-17 14:21:24 +0000 |
commit | 89c2bd5af5724ff19713317bb756aa1359417043 (patch) | |
tree | 48900c01f6535410201df69b77dc2eec71861238 /framework/source/uielement/buttontoolbarcontroller.cxx | |
parent | a290818f81037a6fadd5b70fc8ad1a03c76e1858 (diff) |
INTEGRATION: CWS logger2 (1.6.30); FILE MERGED
2008/07/17 10:04:08 b_michaelsen 1.6.30.4: RESYNC: (1.6-1.7); FILE MERGED
2008/07/08 13:26:20 b_michaelsen 1.6.30.3: #i88653# implemeted logging hooks solution without dispatch interception
2008/07/04 11:57:39 b_michaelsen 1.6.30.2: #i88653# removing appending of DispatchOrigin
2008/05/19 11:26:47 b_michaelsen 1.6.30.1: #i88653# added origin of dispatch to args for uilogging
Diffstat (limited to 'framework/source/uielement/buttontoolbarcontroller.cxx')
-rw-r--r-- | framework/source/uielement/buttontoolbarcontroller.cxx | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/framework/source/uielement/buttontoolbarcontroller.cxx b/framework/source/uielement/buttontoolbarcontroller.cxx index 0e8374c73d30..c3c5b39a6a82 100644 --- a/framework/source/uielement/buttontoolbarcontroller.cxx +++ b/framework/source/uielement/buttontoolbarcontroller.cxx @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: buttontoolbarcontroller.cxx,v $ - * $Revision: 1.7 $ + * $Revision: 1.8 $ * * This file is part of OpenOffice.org. * @@ -70,6 +70,7 @@ #include <vcl/bitmap.hxx> #include <svtools/filter.hxx> #include <svtools/miscopt.hxx> +#include <comphelper/uieventslogger.hxx> using namespace ::com::sun::star; using namespace ::com::sun::star::awt; @@ -286,6 +287,12 @@ throw (::com::sun::star::uno::RuntimeException) aArgs[0].Name = rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "KeyModifier" )); aArgs[0].Value = makeAny( KeyModifier ); + if(::comphelper::UiEventsLogger::isEnabled()) //#i88653# + { + Sequence<PropertyValue> source; + ::comphelper::UiEventsLogger::appendDispatchOrigin(source, rtl::OUString::createFromAscii("ButtonToolbarController")); + ::comphelper::UiEventsLogger::logDispatch(aTargetURL, source); + } xDispatch->dispatch( aTargetURL, aArgs ); } catch ( DisposedException& ) |