[Libreoffice-commits] core.git: vcl/source

Markus Mohrhard markus.mohrhard at googlemail.com
Mon Mar 20 01:49:26 UTC 2017


 vcl/source/control/ctrl.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 8fd7b49308e296097355c38922fbb766d439fa74
Author: Markus Mohrhard <markus.mohrhard at googlemail.com>
Date:   Mon Mar 20 00:52:12 2017 +0100

    uitest: start logging the actions on UI elements
    
    Change-Id: I9d82cb22dcbd15c92564c740b1c7e08484f1dd65
    Reviewed-on: https://gerrit.libreoffice.org/35449
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Markus Mohrhard <markus.mohrhard at googlemail.com>

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 );
 


More information about the Libreoffice-commits mailing list