summaryrefslogtreecommitdiff
path: root/vcl/source/control/ivctrl.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/control/ivctrl.cxx')
-rw-r--r--vcl/source/control/ivctrl.cxx17
1 files changed, 17 insertions, 0 deletions
diff --git a/vcl/source/control/ivctrl.cxx b/vcl/source/control/ivctrl.cxx
index 03f820534392..5ce9b84e1f85 100644
--- a/vcl/source/control/ivctrl.cxx
+++ b/vcl/source/control/ivctrl.cxx
@@ -28,10 +28,26 @@
#include <vcl/tabctrl.hxx>
#include <vcl/vclevent.hxx>
#include <vcl/uitest/uiobject.hxx>
+#include <vcl/uitest/logger.hxx>
+#include <vcl/uitest/eventdescription.hxx>
#include <verticaltabctrl.hxx>
using namespace ::com::sun::star::accessibility;
+namespace
+{
+void collectUIInformation( const OUString& aID, const OUString& aPos , const OUString& aParent )
+{
+ EventDescription aDescription;
+ aDescription.aID = aID;
+ aDescription.aParameters = {{ "POS" , aPos}};
+ aDescription.aAction = "SELECT";
+ aDescription.aParent = aParent;
+ aDescription.aKeyWord = "VerticalTab";
+ UITestLogger::getInstance().logEvent(aDescription);
+}
+}
+
/*****************************************************************************
|
| class : SvxIconChoiceCtrlEntry
@@ -521,6 +537,7 @@ void VerticalTabControl::SetCurPageId(const OString& rId)
ActivatePage();
pNewData->xPage->Show();
}
+ collectUIInformation(get_id(),OStringToOUString(m_sCurrentPageId,RTL_TEXTENCODING_UTF8), GetPageParent()->get_id());
}
OString VerticalTabControl::GetPageId(sal_uInt16 nIndex) const