summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2017-03-20 00:52:12 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2017-03-20 01:49:03 +0000
commit8fd7b49308e296097355c38922fbb766d439fa74 (patch)
tree6ceea5246f060559c629ce6dc904439ca9a7f69e
parentdade97c9186bd70ec7aefe7e06f54fda11968fec (diff)
uitest: start logging the actions on UI elements
Change-Id: I9d82cb22dcbd15c92564c740b1c7e08484f1dd65 Reviewed-on: https://gerrit.libreoffice.org/35449 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
-rw-r--r--vcl/source/control/ctrl.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/vcl/source/control/ctrl.cxx b/vcl/source/control/ctrl.cxx
index ff90996359d8..aadff32a5953 100644
--- a/vcl/source/control/ctrl.cxx
+++ b/vcl/source/control/ctrl.cxx
@@ -26,6 +26,7 @@
#include <vcl/decoview.hxx>
#include <vcl/salnativewidgets.hxx>
#include <vcl/settings.hxx>
+#include <vcl/uitest/logger.hxx>
#include <textlayout.hxx>
#include <svdata.hxx>
@@ -300,6 +301,7 @@ void Control::AppendLayoutData( const Control& rSubControl ) const
bool Control::ImplCallEventListenersAndHandler( VclEventId nEvent, std::function<void()> const & callHandler )
{
VclPtr<Control> xThis(this);
+ UITestLogger::getInstance().logAction(xThis, nEvent);
CallEventListeners( nEvent );