diff options
author | Xisco Fauli <xiscofauli@libreoffice.org> | 2020-05-15 19:04:12 +0200 |
---|---|---|
committer | Xisco Faulí <xiscofauli@libreoffice.org> | 2020-05-16 14:43:02 +0200 |
commit | e9a2addb11c2421f389d983286e0d457cf82e3df (patch) | |
tree | 626fd5886c1f17f666e2d94ee9c62971711b86c5 /sc/source/ui/navipi | |
parent | aca453050547b586c3c96e332d8f508368f0b434 (diff) |
uitest: sc: test navigator
Change-Id: I7ea7076df4e84726dadcdf9161914a28371f4563
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94325
Tested-by: Jenkins
Reviewed-by: Xisco Faulí <xiscofauli@libreoffice.org>
Diffstat (limited to 'sc/source/ui/navipi')
-rw-r--r-- | sc/source/ui/navipi/navipi.cxx | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sc/source/ui/navipi/navipi.cxx b/sc/source/ui/navipi/navipi.cxx index 451ecb09708c..ab4e73f2cc91 100644 --- a/sc/source/ui/navipi/navipi.cxx +++ b/sc/source/ui/navipi/navipi.cxx @@ -24,6 +24,7 @@ #include <sfx2/navigat.hxx> #include <svl/stritem.hxx> #include <unotools/charclass.hxx> +#include <uiobject.hxx> #include <viewdata.hxx> #include <tabvwsh.hxx> @@ -336,6 +337,8 @@ ScNavigatorDlg::ScNavigatorDlg(SfxBindings* pB, vcl::Window* pParent) , nCurRow(0) , nCurTab(0) { + set_id("NavigatorPanelParent"); // for uitests + m_xEdRow->set_range(1, SCNAV_MAXROW); m_xEdRow->set_width_chars(5); //max rows is 1,000,000, which is too long for typical use @@ -423,6 +426,11 @@ void ScNavigatorDlg::StateChanged(StateChangedType nStateChange) } } +FactoryFunction ScNavigatorDlg::GetUITestFactory() const +{ + return ScNavigatorDlgUIObject::create; +} + ScNavigatorDlg::~ScNavigatorDlg() { disposeOnce(); |