diff options
author | Szymon Kłos <szymon.klos@collabora.com> | 2021-04-02 20:13:32 +0200 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2021-04-14 11:06:08 +0200 |
commit | 5f18922496ec60255097048d9b00b70fc6ccbba5 (patch) | |
tree | fc32a0e0f09d16bf7a6cffd38c6a0f1e386078bf /vcl/source/window/layout.cxx | |
parent | d8d1b869e8554c0aa1e13114b9fe1fdc236c47d8 (diff) |
jsdialog: uitest: handle click for drawing area
Change-Id: I5ea78697b87f4b2a468f8507470b62031bee4aa0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113524
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Diffstat (limited to 'vcl/source/window/layout.cxx')
-rw-r--r-- | vcl/source/window/layout.cxx | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/vcl/source/window/layout.cxx b/vcl/source/window/layout.cxx index 4e2efa065439..110ffa6b4f87 100644 --- a/vcl/source/window/layout.cxx +++ b/vcl/source/window/layout.cxx @@ -17,6 +17,7 @@ #include <vcl/svapp.hxx> #include <vcl/settings.hxx> #include <vcl/messagedialog.hxx> +#include <vcl/uitest/uiobject.hxx> #include <window.h> #include <boost/multi_array.hpp> #include <boost/property_tree/ptree.hpp> @@ -2721,4 +2722,11 @@ bool isLayoutEnabled(const vcl::Window *pWindow) return pChild && isContainerWindow(*pChild) && !pChild->GetWindow(GetWindowType::Next); } +FactoryFunction VclDrawingArea::GetUITestFactory() const +{ + if (m_pFactoryFunction) + return m_pFactoryFunction; + return DrawingAreaUIObject::create; +} + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |