summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2017-03-26 00:20:29 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2017-03-26 02:57:09 +0000
commitbc054e18712eb1a560ef27d0f2b0a62fc47bf962 (patch)
tree2a4c391a31ac7438308a04cb924b097c0e1e436c /sc
parent3df98c595f1b9c4bd0705578a15252a4d194293c (diff)
uitest: add more IDs to autofilter elements
Change-Id: I6b22409403cf9ab39c9a120c712976316bf3a22a Reviewed-on: https://gerrit.libreoffice.org/35696 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/cctrl/checklistmenu.cxx4
-rw-r--r--sc/source/ui/inc/checklistmenu.hxx1
2 files changed, 5 insertions, 0 deletions
diff --git a/sc/source/ui/cctrl/checklistmenu.cxx b/sc/source/ui/cctrl/checklistmenu.cxx
index 3b882f7e998f..ce637818191c 100644
--- a/sc/source/ui/cctrl/checklistmenu.cxx
+++ b/sc/source/ui/cctrl/checklistmenu.cxx
@@ -906,6 +906,9 @@ ScCheckListMenuWindow::ScCheckListMenuWindow(vcl::Window* pParent, ScDocument* p
maChecks->SetTabStopsContainer( &maTabStops );
set_id("check_list_menu");
+ maChkToggleAll->set_id("toggle_all");
+ maBtnSelectSingle->set_id("select_current");
+ maBtnUnselectSingle->set_id("unselect_current");
}
ScCheckListMenuWindow::~ScCheckListMenuWindow()
@@ -1610,6 +1613,7 @@ ScCheckListBox::ScCheckListBox( vcl::Window* pParent )
: SvTreeListBox( pParent, 0 ), mpCheckButton( nullptr ), mbSeenMouseButtonDown( false )
{
Init();
+ set_id("check_list_box");
}
SvTreeListEntry* ScCheckListBox::FindEntry( SvTreeListEntry* pParent, const OUString& sNode )
diff --git a/sc/source/ui/inc/checklistmenu.hxx b/sc/source/ui/inc/checklistmenu.hxx
index 1723c9b0863b..f2e208ad4f6b 100644
--- a/sc/source/ui/inc/checklistmenu.hxx
+++ b/sc/source/ui/inc/checklistmenu.hxx
@@ -257,6 +257,7 @@ public:
: Edit(pParent)
, mpTabStops(nullptr)
{
+ set_id("search_edit");
}
virtual void MouseButtonDown( const MouseEvent& rMEvt ) override;