summaryrefslogtreecommitdiff
path: root/framework/source/services
diff options
context:
space:
mode:
authorLászló Németh <laszlo.nemeth@collabora.com>2017-03-30 14:25:40 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2017-06-16 14:01:56 +0200
commit08f6f9dded1b142b858c455da03319abac691655 (patch)
treec191e2f0535656b91b77aefb9c634c1fdd793853 /framework/source/services
parent6ade80cf142664e78954c7544534e9436ceb90c7 (diff)
Profiling API: add ProfileZones
Change-Id: Ie5669bd75d9b4be047d98402cb69ac313ab618df Reviewed-on: https://gerrit.libreoffice.org/38787 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Diffstat (limited to 'framework/source/services')
-rw-r--r--framework/source/services/dispatchhelper.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/framework/source/services/dispatchhelper.cxx b/framework/source/services/dispatchhelper.cxx
index da6bc9c52997..305367649678 100644
--- a/framework/source/services/dispatchhelper.cxx
+++ b/framework/source/services/dispatchhelper.cxx
@@ -26,6 +26,7 @@
#include <com/sun/star/frame/XNotifyingDispatch.hpp>
#include <comphelper/processfactory.hxx>
+#include <comphelper/profilezone.hxx>
namespace framework{
@@ -113,6 +114,7 @@ css::uno::Any SAL_CALL DispatchHelper::executeDispatch(
bool SyncronFlag ,
const css::uno::Sequence< css::beans::PropertyValue >& lArguments )
{
+ ::comphelper::ProfileZone aZone("executeDispatch");
css::uno::Reference< css::uno::XInterface > xTHIS(static_cast< ::cppu::OWeakObject* >(this), css::uno::UNO_QUERY);
m_aResult.clear();